24#ifndef quantext_lgm_implied_survivalprob_ts_hpp
25#define quantext_lgm_implied_survivalprob_ts_hpp
29#include <ql/termstructures/credit/survivalprobabilitystructure.hpp>
49 const Size currency,
const DayCounter& dc = DayCounter(),
50 const bool purelyTimeBased =
false);
59 void state(
const Real z,
const Real y);
60 void move(
const Date& d,
const Real z,
const Real y);
61 void move(
const Time t,
const Real z,
const Real y);
68 const QuantLib::ext::shared_ptr<CrossAssetModel>
model_;
80 return Date::maxDate();
90 "time based term structure");
96 "time based term structure");
103 "time based term structure");
130 QL_REQUIRE(t >= 0.0,
"negative time (" << t <<
") given");
Lgm Implied Default Term Structure.
Probability survivalProbabilityImpl(Time) const override
const Date & referenceDate() const override
void move(const Date &d, const Real z, const Real y)
Date maxDate() const override
const QuantLib::ext::shared_ptr< CrossAssetModel > model_
void referenceTime(const Time t)
void state(const Real z, const Real y)
const bool purelyTimeBased_
Time maxTime() const override