21#ifndef quantlib_multistep_multistep_swaption_hpp
22#define quantlib_multistep_multistep_swaption_hpp
29 class StrikedTypePayoff;
41 ext::shared_ptr<StrikedTypePayoff> &);
47 void reset()
override;
49 std::vector<Size>& numberCashFlowsThisStep,
50 std::vector<std::vector<CashFlow> >& cashFlowsGenerated)
override;
51 std::unique_ptr<MarketModelMultiProduct>
clone()
const override;
58 ext::shared_ptr<StrikedTypePayoff>
payoff_;
66 inline std::vector<Time>
Curve state for market-model simulations
Multiple-step market-model product.
std::vector< Time > paymentTimes_
std::unique_ptr< MarketModelMultiProduct > clone() const override
returns a newly-allocated copy of itself
bool nextTimeStep(const CurveState ¤tState, std::vector< Size > &numberCashFlowsThisStep, std::vector< std::vector< CashFlow > > &cashFlowsGenerated) override
return value indicates whether path is finished, TRUE means done
std::vector< Time > possibleCashFlowTimes() const override
Size maxNumberOfCashFlowsPerProductPerStep() const override
ext::shared_ptr< StrikedTypePayoff > payoff_
Size numberOfProducts() const override
void reset() override
during simulation put product at start of path
std::size_t Size
size of a container
Maps shared_ptr to either the boost or std implementation.