Build a ScenarioGenerator. More...
#include <orea/scenario/scenariogeneratorbuilder.hpp>
Public Member Functions | |
ScenarioGeneratorBuilder () | |
Default constructor. More... | |
ScenarioGeneratorBuilder (QuantLib::ext::shared_ptr< ScenarioGeneratorData > data) | |
Constructor. More... | |
QuantLib::ext::shared_ptr< ScenarioGenerator > | build (QuantLib::ext::shared_ptr< QuantExt::CrossAssetModel > model, QuantLib::ext::shared_ptr< ScenarioFactory > sf, QuantLib::ext::shared_ptr< ScenarioSimMarketParameters > marketConfig, Date asof, QuantLib::ext::shared_ptr< ore::data::Market > initMarket, const std::string &configuration=ore::data::Market::defaultConfiguration, const QuantLib::ext::shared_ptr< PathGeneratorFactory > &pf=QuantLib::ext::make_shared< MultiPathGeneratorFactory >()) |
Build function. More... | |
Private Attributes | |
QuantLib::ext::shared_ptr< ScenarioGeneratorData > | data_ |
boost::optional< std::set< std::string > > | currencies_ |
Build a ScenarioGenerator.
ScenarioGeneratorBuilder builds a scenario generator based on the settings provided via the ScenarioGeneratorData object
Definition at line 54 of file scenariogeneratorbuilder.hpp.
ScenarioGeneratorBuilder | ( | QuantLib::ext::shared_ptr< ScenarioGeneratorData > | data | ) |
Constructor.
Definition at line 60 of file scenariogeneratorbuilder.hpp.
QuantLib::ext::shared_ptr< ScenarioGenerator > build | ( | QuantLib::ext::shared_ptr< QuantExt::CrossAssetModel > | model, |
QuantLib::ext::shared_ptr< ScenarioFactory > | sf, | ||
QuantLib::ext::shared_ptr< ScenarioSimMarketParameters > | marketConfig, | ||
Date | asof, | ||
QuantLib::ext::shared_ptr< ore::data::Market > | initMarket, | ||
const std::string & | configuration = ore::data::Market::defaultConfiguration , |
||
const QuantLib::ext::shared_ptr< PathGeneratorFactory > & | pf = QuantLib::ext::make_shared<MultiPathGeneratorFactory>() |
||
) |
Build function.
Definition at line 42 of file scenariogeneratorbuilder.cpp.
|
private |
Definition at line 71 of file scenariogeneratorbuilder.hpp.
|
private |
Definition at line 72 of file scenariogeneratorbuilder.hpp.