27 const std::vector<Date>& jumpDates)
35 const std::vector<Date>& jumpDates)
43 const std::vector<Date>& jumpDates)
48 Time t1 = std::max(
t-dt, 0.0);
54 return (p1-p2)/(t2-t1);
Default probability term structure.
virtual Probability survivalProbabilityImpl(Time) const =0
survival probability calculation
Shared handle to an observable.
Real defaultDensityImpl(Time) const override
instantaneous default density at a given time
SurvivalProbabilityStructure(const DayCounter &dayCounter=DayCounter(), const std::vector< Handle< Quote > > &jumps={}, const std::vector< Date > &jumpDates={})
Real Time
continuous quantity with 1-year units
unsigned QL_INTEGER Natural
positive integer
Real Probability
probability
survival-probability term structure