28#include <ql/termstructures/yieldtermstructure.hpp>
29#include <ql/math/comparison.hpp>
49 const bool purelyTimeBased =
false);
58 void state(
const Array& s);
59 void move(
const Date& d,
const Array& s);
60 void move(
const Time t,
const Array& s);
62 virtual void update()
override;
67 const QuantLib::ext::shared_ptr<IrModel>
model_;
83 const Handle<YieldTermStructure> targetCurve,
const DayCounter& dc = DayCounter(),
84 const bool purelyTimeBased =
false);
105 const DayCounter& dc,
const bool purelyTimeBased);
119 return Date::maxDate();
129 "time based term structure");
135 "time based term structure");
142 "time based term structure");
149 "time based term structure");
156 "time based term structure");
185 QL_REQUIRE(t >= 0.0,
"negative time (" << t <<
") given");
190 QL_REQUIRE(t >= 0.0,
"negative time (" << t <<
") given");
200 QL_REQUIRE(t >= 0.0,
"negative time (" << t <<
") given");
IR Implied Yield Term Structure.
void state(const Array &s)
void move(const Date &d, const Array &s)
virtual void update() override
const Date & referenceDate() const override
const QuantLib::ext::shared_ptr< IrModel > model_
Date maxDate() const override
Real discountImpl(Time t) const override
virtual void referenceTime(const Time t)
const bool purelyTimeBased_
Time maxTime() const override
Model Implied Yts Fwd Corrected.
void referenceTime(const Time t) override
const Handle< YieldTermStructure > targetCurve_
Real discountImpl(Time t) const override
Lgm Implied Yts Spot Corrected.
const Handle< YieldTermStructure > targetCurve_
Real discountImpl(Time t) const override