QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <triggeredswapexercise.hpp>
Public Member Functions | |
TriggeredSwapExercise (const std::vector< Time > &rateTimes, const std::vector< Time > &exerciseTimes, std::vector< Rate > strikes) | |
Size | numberOfExercises () const override |
const EvolutionDescription & | evolution () const override |
void | nextStep (const CurveState &) override |
void | reset () override |
std::valarray< bool > | isExerciseTime () const override |
void | values (const CurveState &, std::vector< Real > &results) const override |
std::vector< Size > | numberOfVariables () const override |
std::vector< Size > | numberOfParameters () const override |
bool | exercise (Size exerciseNumber, const std::vector< Real > ¶meters, const std::vector< Real > &variables) const override |
void | guess (Size exerciseNumber, std::vector< Real > ¶meters) const override |
std::unique_ptr< MarketModelParametricExercise > | clone () const override |
Public Member Functions inherited from MarketModelParametricExercise | |
std::vector< Size > | numberOfData () const override |
virtual std::unique_ptr< MarketModelParametricExercise > | clone () const =0 |
Public Member Functions inherited from MarketModelNodeDataProvider | |
virtual | ~MarketModelNodeDataProvider ()=default |
virtual Size | numberOfExercises () const =0 |
virtual std::vector< Size > | numberOfData () const =0 |
virtual const EvolutionDescription & | evolution () const =0 |
virtual void | nextStep (const CurveState &)=0 |
virtual void | reset ()=0 |
virtual std::valarray< bool > | isExerciseTime () const =0 |
virtual void | values (const CurveState &, std::vector< Real > &results) const =0 |
Public Member Functions inherited from ParametricExercise | |
virtual | ~ParametricExercise ()=default |
virtual std::vector< Size > | numberOfVariables () const =0 |
virtual std::vector< Size > | numberOfParameters () const =0 |
virtual bool | exercise (Size exerciseNumber, const std::vector< Real > ¶meters, const std::vector< Real > &variables) const =0 |
virtual void | guess (Size exerciseNumber, std::vector< Real > ¶meters) const =0 |
Private Attributes | |
std::vector< Time > | rateTimes_ |
std::vector< Time > | exerciseTimes_ |
std::vector< Rate > | strikes_ |
Size | currentStep_ = 0 |
std::vector< Size > | rateIndex_ |
EvolutionDescription | evolution_ |
Definition at line 28 of file triggeredswapexercise.hpp.
TriggeredSwapExercise | ( | const std::vector< Time > & | rateTimes, |
const std::vector< Time > & | exerciseTimes, | ||
std::vector< Rate > | strikes | ||
) |
Definition at line 27 of file triggeredswapexercise.cpp.
|
overridevirtual |
Implements MarketModelNodeDataProvider.
Definition at line 40 of file triggeredswapexercise.cpp.
|
overridevirtual |
Implements MarketModelNodeDataProvider.
Definition at line 44 of file triggeredswapexercise.cpp.
|
overridevirtual |
Implements MarketModelNodeDataProvider.
Definition at line 48 of file triggeredswapexercise.cpp.
|
overridevirtual |
Implements MarketModelNodeDataProvider.
Definition at line 52 of file triggeredswapexercise.cpp.
|
overridevirtual |
Implements MarketModelNodeDataProvider.
Definition at line 56 of file triggeredswapexercise.cpp.
|
overridevirtual |
Implements MarketModelNodeDataProvider.
Definition at line 60 of file triggeredswapexercise.cpp.
|
overridevirtual |
Implements ParametricExercise.
Definition at line 67 of file triggeredswapexercise.cpp.
|
overridevirtual |
Implements ParametricExercise.
Definition at line 71 of file triggeredswapexercise.cpp.
|
overridevirtual |
Implements ParametricExercise.
Definition at line 75 of file triggeredswapexercise.cpp.
Implements ParametricExercise.
Definition at line 82 of file triggeredswapexercise.cpp.
|
overridevirtual |
Implements MarketModelParametricExercise.
Definition at line 89 of file triggeredswapexercise.cpp.
|
private |
Definition at line 53 of file triggeredswapexercise.hpp.
|
private |
Definition at line 53 of file triggeredswapexercise.hpp.
|
private |
Definition at line 54 of file triggeredswapexercise.hpp.
|
private |
Definition at line 55 of file triggeredswapexercise.hpp.
|
private |
Definition at line 56 of file triggeredswapexercise.hpp.
|
private |
Definition at line 57 of file triggeredswapexercise.hpp.