Class PathPricer<TPath>
The base class for path pricers: the value of an option on a given path.
public abstract class PathPricer<TPath>
Type Parameters
TPathThe path type.
- Inheritance
-
PathPricer<TPath>
- Derived
- Inherited Members
Remarks
An extension point, as in QuantLib: each Monte Carlo engine's pricer derives from it.
Constructors
PathPricer()
Initializes a new instance of the PathPricer<TPath> class.
protected PathPricer()
Methods
Evaluate(TPath)
The value on a path: QuantLib's operator().
public abstract double Evaluate(TPath path)
Parameters
pathTPathThe path.
Returns
- double
The value.