#include <orea/scenario/scenariogeneratortransform.hpp>
Inheritance diagram for ScenarioGeneratorTransform:
Collaboration diagram for ScenarioGeneratorTransform:Public Member Functions | |
| ScenarioGeneratorTransform (QuantLib::ext::shared_ptr< ScenarioGenerator > &scenarioGenerator, const QuantLib::ext::shared_ptr< ScenarioSimMarket > &simMarket, const QuantLib::ext::shared_ptr< ScenarioSimMarketParameters > &simMarketConfig) | |
| QuantLib::ext::shared_ptr< Scenario > | next (const QuantLib::Date &d) override |
| void | reset () override |
| Reset the generator so calls to next() return the first scenario. More... | |
Public Member Functions inherited from ScenarioGenerator | |
| virtual | ~ScenarioGenerator () |
| Default destructor. More... | |
| virtual QuantLib::ext::shared_ptr< Scenario > | next (const Date &d)=0 |
| Return the next scenario for the given date. More... | |
| virtual void | reset ()=0 |
| Reset the generator so calls to next() return the first scenario. More... | |
Private Attributes | |
| QuantLib::ext::shared_ptr< ScenarioGenerator > | scenarioGenerator_ |
| QuantLib::ext::shared_ptr< ScenarioSimMarket > | simMarket_ |
| QuantLib::ext::shared_ptr< ScenarioSimMarketParameters > | simMarketConfig_ |
Definition at line 41 of file scenariogeneratortransform.hpp.
| ScenarioGeneratorTransform | ( | QuantLib::ext::shared_ptr< ScenarioGenerator > & | scenarioGenerator, |
| const QuantLib::ext::shared_ptr< ScenarioSimMarket > & | simMarket, | ||
| const QuantLib::ext::shared_ptr< ScenarioSimMarketParameters > & | simMarketConfig | ||
| ) |
Definition at line 43 of file scenariogeneratortransform.hpp.
|
override |
Definition at line 26 of file scenariogeneratortransform.cpp.
Here is the call graph for this function:
|
overridevirtual |
Reset the generator so calls to next() return the first scenario.
This allows re-generation of scenarios if required.
Implements ScenarioGenerator.
Definition at line 58 of file scenariogeneratortransform.cpp.
|
private |
Definition at line 53 of file scenariogeneratortransform.hpp.
|
private |
Definition at line 54 of file scenariogeneratortransform.hpp.
|
private |
Definition at line 55 of file scenariogeneratortransform.hpp.