24#ifndef quantlib_early_exercise_path_pricer_hpp
25#define quantlib_early_exercise_path_pricer_hpp
34 template <
class PathType>
62 template<
class PathType,
63 class TimeType=
Size,
class ValueType=
Real>
70 TimeType
t)
const = 0;
73 state(
const PathType& path, TimeType
t)
const = 0;
74 virtual std::vector<ext::function<ValueType(
StateType)> >
1-D array used in linear algebra.
1-D array used in linear algebra.
base class for early exercise path pricers
virtual StateType state(const PathType &path, TimeType t) const =0
virtual ~EarlyExercisePathPricer()=default
virtual ValueType operator()(const PathType &path, TimeType t) const =0
EarlyExerciseTraits< PathType >::StateType StateType
virtual std::vector< ext::function< ValueType(StateType)> > basisSystem() const =0
static Size pathLength(const MultiPath &path)
static Size pathLength(const Path &path)
Correlated multiple asset paths.
single-factor random walk
Maps function, bind and cref to either the boost or std implementation.
std::size_t Size
size of a container
Correlated multiple asset paths.
single factor random walk