#include <multisteptarn.hpp>
|
| MultiStepTarn (const std::vector< Time > &rateTimes, const std::vector< Real > &accruals, const std::vector< Real > &accrualsFloating, const std::vector< Time > &paymentTimes, const std::vector< Time > &paymentTimesFloating, Real totalCoupon, const std::vector< Real > &strikes, std::vector< Real > multipliers, const std::vector< Real > &floatingSpreads) |
|
| MultiProductMultiStep (std::vector< Time > rateTimes) |
|
std::vector< Size > | suggestedNumeraires () const override |
|
const EvolutionDescription & | evolution () const override |
|
virtual | ~MarketModelMultiProduct ()=default |
|
virtual std::vector< Size > | suggestedNumeraires () const =0 |
|
virtual const EvolutionDescription & | evolution () const =0 |
|
virtual std::vector< Time > | possibleCashFlowTimes () const =0 |
|
virtual Size | numberOfProducts () const =0 |
|
virtual Size | maxNumberOfCashFlowsPerProductPerStep () const =0 |
|
virtual void | reset ()=0 |
| during simulation put product at start of path More...
|
|
virtual bool | nextTimeStep (const CurveState ¤tState, std::vector< Size > &numberCashFlowsThisStep, std::vector< std::vector< CashFlow > > &cashFlowsGenerated)=0 |
| return value indicates whether path is finished, TRUE means done More...
|
|
virtual std::unique_ptr< MarketModelMultiProduct > | clone () const =0 |
| returns a newly-allocated copy of itself More...
|
|
Definition at line 27 of file multisteptarn.hpp.
◆ MultiStepTarn()
MultiStepTarn |
( |
const std::vector< Time > & |
rateTimes, |
|
|
const std::vector< Real > & |
accruals, |
|
|
const std::vector< Real > & |
accrualsFloating, |
|
|
const std::vector< Time > & |
paymentTimes, |
|
|
const std::vector< Time > & |
paymentTimesFloating, |
|
|
Real |
totalCoupon, |
|
|
const std::vector< Real > & |
strikes, |
|
|
std::vector< Real > |
multipliers, |
|
|
const std::vector< Real > & |
floatingSpreads |
|
) |
| |
◆ possibleCashFlowTimes()
std::vector< Time > possibleCashFlowTimes |
( |
| ) |
const |
|
overridevirtual |
◆ numberOfProducts()
Size numberOfProducts |
( |
| ) |
const |
|
overridevirtual |
◆ maxNumberOfCashFlowsPerProductPerStep()
Size maxNumberOfCashFlowsPerProductPerStep |
( |
| ) |
const |
|
overridevirtual |
◆ reset()
◆ nextTimeStep()
bool nextTimeStep |
( |
const CurveState & |
currentState, |
|
|
std::vector< Size > & |
numberCashFlowsThisStep, |
|
|
std::vector< std::vector< CashFlow > > & |
cashFlowsGenerated |
|
) |
| |
|
overridevirtual |
◆ clone()
◆ accruals_
std::vector<Real> accruals_ |
|
private |
◆ accrualsFloating_
std::vector<Real> accrualsFloating_ |
|
private |
◆ paymentTimes_
std::vector<Time> paymentTimes_ |
|
private |
◆ paymentTimesFloating_
std::vector<Time> paymentTimesFloating_ |
|
private |
◆ allPaymentTimes_
std::vector<Time> allPaymentTimes_ |
|
private |
◆ totalCoupon_
◆ strikes_
std::vector<Real> strikes_ |
|
private |
◆ multipliers_
std::vector<Real> multipliers_ |
|
private |
◆ floatingSpreads_
std::vector<Real> floatingSpreads_ |
|
private |
◆ lastIndex_
◆ couponPaid_
◆ currentIndex_