29#include <ql/indexes/iborindex.hpp>
39 const std::function<QuantLib::ext::shared_ptr<IrLgm1fParametrization>()>& p,
40 std::vector<std::pair<std::size_t, std::function<
double(
void)>>>& modelParameters,
41 const bool sloppySimDates =
false,
const std::set<Date>& effSimDates = {})
47 std::size_t
numeraire(
const Date& d,
const std::size_t x,
48 const Handle<YieldTermStructure>& discountCurve = Handle<YieldTermStructure>(),
49 const std::string& discountCurveId =
"default")
const;
51 std::size_t
discountBond(
const Date& d, Date e,
const std::size_t x,
52 const Handle<YieldTermStructure>& discountCurve = Handle<YieldTermStructure>(),
53 const std::string& discountCurveId =
"default")
const;
56 const Handle<YieldTermStructure>& discountCurve = Handle<YieldTermStructure>(),
57 const std::string& discountCurveId =
"default")
const;
60 std::size_t
fixing(
const QuantLib::ext::shared_ptr<InterestRateIndex>& index,
const Date& fixingDate,
const Date& t,
61 const std::size_t x)
const;
66 std::function<QuantLib::ext::shared_ptr<IrLgm1fParametrization>()>
p_;
QuantExt::ComputationGraph & g_
std::size_t numeraire(const Date &d, const std::size_t x, const Handle< YieldTermStructure > &discountCurve=Handle< YieldTermStructure >(), const std::string &discountCurveId="default") const
HwCG(const std::string &qualifier, QuantExt::ComputationGraph &g, const std::function< QuantLib::ext::shared_ptr< IrLgm1fParametrization >()> &p, std::vector< std::pair< std::size_t, std::function< double(void)> > > &modelParameters, const bool sloppySimDates=false, const std::set< Date > &effSimDates={})
std::vector< std::pair< std::size_t, std::function< double(void)> > > & modelParameters_
QuantLib::ext::shared_ptr< IrLgm1fParametrization > parametrization() const
std::function< QuantLib::ext::shared_ptr< IrLgm1fParametrization >()> p_
std::set< Date > effSimDates_
std::size_t reducedDiscountBond(const Date &d, const Date &e, const std::size_t x, const Handle< YieldTermStructure > &discountCurve=Handle< YieldTermStructure >(), const std::string &discountCurveId="default") const
std::size_t fixing(const QuantLib::ext::shared_ptr< InterestRateIndex > &index, const Date &fixingDate, const Date &t, const std::size_t x) const
std::size_t discountBond(const Date &d, Date e, const std::size_t x, const Handle< YieldTermStructure > &discountCurve=Handle< YieldTermStructure >(), const std::string &discountCurveId="default") const