24#ifndef quantext_cirpp_implied_survivalprob_ts_hpp
25#define quantext_cirpp_implied_survivalprob_ts_hpp
29#include <ql/termstructures/credit/survivalprobabilitystructure.hpp>
48 const DayCounter& dc = DayCounter(),
const bool purelyTimeBased =
false);
57 void state(
const Real y);
58 void move(
const Date& d,
const Real y);
59 void move(
const Time t,
const Real y);
66 const QuantLib::ext::shared_ptr<CrCirpp>
model_;
78 return Date::maxDate();
88 "time based term structure");
94 "time based term structure");
101 "time based term structure");
127 QL_REQUIRE(t >= 0.0,
"negative time (" << t <<
") given");
128 if (QuantLib::close_enough(t, 0))
Probability survivalProbabilityImpl(Time) const override
void move(const Date &d, const Real y)
const Date & referenceDate() const override
Date maxDate() const override
void referenceTime(const Time t)
const QuantLib::ext::shared_ptr< CrCirpp > model_
const bool purelyTimeBased_
Time maxTime() const override
CIR++ credit model class.