Public Member Functions | |
void | reset () override |
Reset the generator so calls to next() return the first scenario. More... | |
QuantLib::ext::shared_ptr< ore::analytics::Scenario > | next (const Date &) override |
Return the next scenario for the given date. | |
void | setScenario (const QuantLib::ext::shared_ptr< ore::analytics::Scenario > &s) |
Public Member Functions inherited from ScenarioGenerator | |
virtual | ~ScenarioGenerator () |
Default destructor. | |
|
overridevirtual |
Reset the generator so calls to next() return the first scenario.
This allows re-generation of scenarios if required.
Implements ScenarioGenerator.