21#ifndef quantlib_market_model_pathwise_cash_rebate_hpp
22#define quantlib_market_model_pathwise_cash_rebate_hpp
34 class EvolutionDescription;
47 const std::vector<Time>& paymentTimes,
56 void reset()
override;
62 std::vector<Size>& numberCashFlowsThisStep,
63 std::vector<std::vector<MarketModelPathwiseMultiProduct::CashFlow> >&
64 cashFlowsGenerated)
override;
66 std::unique_ptr<MarketModelPathwiseMultiProduct>
clone()
const override;
Curve state for market-model simulations
Market-model evolution description.
std::vector< Time > paymentTimes_
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
void reset() override
during simulation put product at start of path
market-model pathwise product
Matrix used in linear algebra.
std::size_t Size
size of a container
matrix used in linear algebra.