20#ifndef quantlib_multistep_inverse_floater_hpp
21#define quantlib_multistep_inverse_floater_hpp
35 std::vector<Real> fixedAccruals,
36 const std::vector<Real>& floatingAccruals,
37 const std::vector<Real>& fixedStrikes,
38 const std::vector<Real>& fixedMultipliers,
39 const std::vector<Real>& floatingSpreads,
40 const std::vector<Time>& paymentTimes,
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;
66 inline std::vector<Time>
Curve state for market-model simulations
Multiple-step market-model product.
std::vector< Time > paymentTimes_
std::vector< Real > floatingAccruals_
std::unique_ptr< MarketModelMultiProduct > clone() const override
returns a newly-allocated copy of itself
std::vector< Real > fixedStrikes_
std::vector< Real > floatingSpreads_
std::vector< Real > fixedMultipliers_
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
Size numberOfProducts() const override
std::vector< Real > fixedAccruals_
void reset() override
during simulation put product at start of path
std::size_t Size
size of a container