|
QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.38
|
base class for early exercise path pricers More...
#include <earlyexercisepathpricer.hpp>
Inheritance diagram for EarlyExercisePathPricer< PathType, TimeType, ValueType >:
Collaboration diagram for EarlyExercisePathPricer< PathType, TimeType, ValueType >:Public Types | |
| typedef EarlyExerciseTraits< PathType >::StateType | StateType |
Public Member Functions | |
| virtual | ~EarlyExercisePathPricer ()=default |
| virtual ValueType | operator() (const PathType &path, TimeType t) const =0 |
| virtual StateType | state (const PathType &path, TimeType t) const =0 |
| virtual std::vector< std::function< ValueType(StateType)> > | basisSystem () const =0 |
base class for early exercise path pricers
Returns the value of an option on a given path and given time.
Definition at line 64 of file earlyexercisepathpricer.hpp.
| typedef EarlyExerciseTraits<PathType>::StateType StateType |
Definition at line 66 of file earlyexercisepathpricer.hpp.
|
virtualdefault |
|
pure virtual |
Implemented in AmericanBasketPathPricer, and AmericanPathPricer.
|
pure virtual |
Implemented in AmericanBasketPathPricer, and AmericanPathPricer.
|
pure virtual |
Implemented in AmericanBasketPathPricer, and AmericanPathPricer.