21#ifndef quantlib_market_model_pathwise_swaption_hpp
22#define quantlib_market_model_pathwise_swaption_hpp
33 class EvolutionDescription;
45 const std::vector<Time>& rateTimes,
46 const std::vector<Rate>& strikes);
61 void reset()
override;
65 std::vector<Size>& numberCashFlowsThisStep,
66 std::vector<std::vector<MarketModelPathwiseMultiProduct::CashFlow> >&
67 cashFlowsGenerated)
override;
70 std::unique_ptr<MarketModelPathwiseMultiProduct>
clone()
const override;
91 const std::vector<Time>& rateTimes,
92 const std::vector<Rate>& strikes,
108 void reset()
override;
112 std::vector<Size>& numberCashFlowsThisStep,
113 std::vector<std::vector<MarketModelPathwiseMultiProduct::CashFlow> >&
114 cashFlowsGenerated)
override;
117 std::unique_ptr<MarketModelPathwiseMultiProduct>
clone()
const override;
Curve state for market-model simulations
Market-model evolution description.
Curve state for Libor market models
std::vector< Size > suggestedNumeraires() const override
bool nextTimeStep(const CurveState ¤tState, std::vector< Size > &numberCashFlowsThisStep, std::vector< std::vector< MarketModelPathwiseMultiProduct::CashFlow > > &cashFlowsGenerated) override
return value indicates whether path is finished, TRUE means done
std::unique_ptr< MarketModelPathwiseMultiProduct > clone() const override
returns a newly-allocated copy of itself
bool alreadyDeflated() const override
std::vector< Time > possibleCashFlowTimes() const override
const EvolutionDescription & evolution() const override
Size maxNumberOfCashFlowsPerProductPerStep() const override
EvolutionDescription evolution_
Size numberOfProducts() const override
std::vector< Rate > strikes_
~MarketModelPathwiseCoterminalSwaptionsDeflated() override=default
std::vector< Real > rateTimes_
void reset() override
during simulation put product at start of path
std::vector< Size > suggestedNumeraires() const override
std::vector< Rate > forwards_
bool nextTimeStep(const CurveState ¤tState, std::vector< Size > &numberCashFlowsThisStep, std::vector< std::vector< MarketModelPathwiseMultiProduct::CashFlow > > &cashFlowsGenerated) override
return value indicates whether path is finished, TRUE means done
std::unique_ptr< MarketModelPathwiseMultiProduct > clone() const override
returns a newly-allocated copy of itself
~MarketModelPathwiseCoterminalSwaptionsNumericalDeflated() override=default
bool alreadyDeflated() const override
std::vector< Time > possibleCashFlowTimes() const override
const EvolutionDescription & evolution() const override
Size maxNumberOfCashFlowsPerProductPerStep() const override
EvolutionDescription evolution_
Size numberOfProducts() const override
std::vector< Rate > strikes_
std::vector< Real > rateTimes_
void reset() override
during simulation put product at start of path
market-model pathwise product
std::size_t Size
size of a container