Public Member Functions | |
| void | reset () override |
| Reset the generator so calls to next() return the first scenario. | |
| QuantLib::ext::shared_ptr< Scenario > | next (const Date &) override |
| Return the next scenario for the given date. | |
| void | setScenario (const QuantLib::ext::shared_ptr< 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.
|
overridevirtual |
Return the next scenario for the given date.
Implements ScenarioGenerator.