34 const std::vector<Date>& dates,
const Size nSamples);
35 QuantLib::ext::shared_ptr<Scenario>
next(
const Date& d)
override;
36 virtual void reset()
override;
42 std::vector<QuantLib::ext::shared_ptr<Scenario>>
scenarios_;
std::vector< QuantLib::ext::shared_ptr< Scenario > > scenarios_
QuantLib::ext::shared_ptr< Scenario > next(const Date &d) override
Return the next scenario for the given date.
virtual void reset() override
Reset the generator so calls to next() return the first scenario.
std::map< Date, size_t > dates_
Scenario generator base class.
Scenario generator base classes.