21#ifndef quantlib_multistep_exercise_adapter_hpp
22#define quantlib_multistep_exercise_adapter_hpp
40 void reset()
override;
43 std::vector<std::vector<CashFlow> >&)
override;
44 std::unique_ptr<MarketModelMultiProduct>
clone()
const override;
59 inline std::vector<Time>
61 return exercise_->possibleCashFlowTimes();
cloning proxy to an underlying object
Curve state for market-model simulations
Market-model evolution description.
std::unique_ptr< MarketModelMultiProduct > clone() const override
returns a newly-allocated copy of itself
bool nextTimeStep(const CurveState &, std::vector< Size > &, std::vector< std::vector< CashFlow > > &) override
return value indicates whether path is finished, TRUE means done
const MarketModelExerciseValue & exerciseValue() const
Clone< MarketModelExerciseValue > exercise_
std::vector< Time > possibleCashFlowTimes() const override
const EvolutionDescription & evolution() const override
Size maxNumberOfCashFlowsPerProductPerStep() const override
std::valarray< bool > isExerciseTime_
Size numberOfProducts() const override
void reset() override
during simulation put product at start of path
Multiple-step market-model product.
cloning proxy to an underlying object
std::size_t Size
size of a container