26#ifndef quantlib_fdm_step_condition_composite_hpp
27#define quantlib_fdm_step_condition_composite_hpp
40 class FdmSnapshotCondition;
41 class FdmInnerValueCalculator;
45 typedef std::list<ext::shared_ptr<StepCondition<Array> > >
Conditions;
55 const ext::shared_ptr<FdmSnapshotCondition>& c1,
56 const ext::shared_ptr<FdmStepConditionComposite>& c2);
60 const ext::shared_ptr<Exercise>& exercise,
61 const ext::shared_ptr<FdmMesher>& mesher,
62 const ext::shared_ptr<FdmInnerValueCalculator>& calculator,
1-D array used in linear algebra.
const std::vector< Time > & stoppingTimes() const
std::vector< Time > stoppingTimes_
static ext::shared_ptr< FdmStepConditionComposite > joinConditions(const ext::shared_ptr< FdmSnapshotCondition > &c1, const ext::shared_ptr< FdmStepConditionComposite > &c2)
std::list< ext::shared_ptr< StepCondition< Array > > > Conditions
const Conditions & conditions() const
void applyTo(Array &a, Time t) const override
const Conditions conditions_
static ext::shared_ptr< FdmStepConditionComposite > vanillaComposite(const DividendSchedule &schedule, const ext::shared_ptr< Exercise > &exercise, const ext::shared_ptr< FdmMesher > &mesher, const ext::shared_ptr< FdmInnerValueCalculator > &calculator, const Date &refDate, const DayCounter &dayCounter)
condition to be applied at every time step
date- and time-related classes, typedefs and enumerations
Schedule of dividend dates.
Real Time
continuous quantity with 1-year units
std::vector< ext::shared_ptr< Dividend > > DividendSchedule
conditions to be applied at every time step