24#ifndef quantlib_simplify_notification_graph
25#define quantlib_simplify_notification_graph
56 bool unregisterCoupons =
false);
Base class for cash flows.
Abstract instrument class.
void swap(Array &v, Array &w) noexcept
void simplifyNotificationGraph(Instrument &instrument, const Leg &leg, bool unregisterCoupons)
Utility function to optimize the observability graph of an instrument.
std::vector< ext::shared_ptr< CashFlow > > Leg
Sequence of cash-flows.