#include <qle/models/cirppimplieddefaulttermstructure.hpp>
Public Member Functions | |
CirppImpliedDefaultTermStructure (const QuantLib::ext::shared_ptr< CrCirpp > &model, const Size index, const DayCounter &dc=DayCounter(), const bool purelyTimeBased=false) | |
Date | maxDate () const override |
Time | maxTime () const override |
const Date & | referenceDate () const override |
void | referenceDate (const Date &d) |
void | referenceTime (const Time t) |
void | state (const Real y) |
void | move (const Date &d, const Real y) |
void | move (const Time t, const Real y) |
void | update () override |
Protected Member Functions | |
Probability | survivalProbabilityImpl (Time) const override |
Protected Attributes | |
const QuantLib::ext::shared_ptr< CrCirpp > | model_ |
const Size | index_ |
const bool | purelyTimeBased_ |
Date | referenceDate_ |
Real | relativeTime_ |
Real | y_ |
The termstructure has the reference date of the model's termstructure at construction, but you can vary this as well as the state. The purely time based variant is mainly there for performance reasons, note that it does not provide the full term structure interface and does not send notifications on reference time updates.
Definition at line 45 of file cirppimplieddefaulttermstructure.hpp.
CirppImpliedDefaultTermStructure | ( | const QuantLib::ext::shared_ptr< CrCirpp > & | model, |
const Size | index, | ||
const DayCounter & | dc = DayCounter() , |
||
const bool | purelyTimeBased = false |
||
) |
Definition at line 23 of file cirppimplieddefaulttermstructure.cpp.
|
override |
Definition at line 75 of file cirppimplieddefaulttermstructure.hpp.
|
override |
Definition at line 81 of file cirppimplieddefaulttermstructure.hpp.
|
override |
Definition at line 86 of file cirppimplieddefaulttermstructure.hpp.
void referenceDate | ( | const Date & | d | ) |
Definition at line 92 of file cirppimplieddefaulttermstructure.hpp.
void referenceTime | ( | const Time | t | ) |
Definition at line 99 of file cirppimplieddefaulttermstructure.hpp.
void state | ( | const Real | y | ) |
Definition at line 105 of file cirppimplieddefaulttermstructure.hpp.
void move | ( | const Date & | d, |
const Real | y | ||
) |
Definition at line 109 of file cirppimplieddefaulttermstructure.hpp.
void move | ( | const Time | t, |
const Real | y | ||
) |
Definition at line 114 of file cirppimplieddefaulttermstructure.hpp.
|
override |
Definition at line 119 of file cirppimplieddefaulttermstructure.hpp.
|
overrideprotected |
Definition at line 126 of file cirppimplieddefaulttermstructure.hpp.
|
protected |
Definition at line 66 of file cirppimplieddefaulttermstructure.hpp.
|
protected |
Definition at line 67 of file cirppimplieddefaulttermstructure.hpp.
|
protected |
Definition at line 68 of file cirppimplieddefaulttermstructure.hpp.
|
protected |
Definition at line 69 of file cirppimplieddefaulttermstructure.hpp.
|
protected |
Definition at line 70 of file cirppimplieddefaulttermstructure.hpp.
|
protected |
Definition at line 70 of file cirppimplieddefaulttermstructure.hpp.