QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <mcperformanceengine.hpp>
Public Member Functions | |
PerformanceOptionPathPricer (Option::Type type, Real strike, std::vector< DiscountFactor > discounts) | |
Real | operator() (const Path &path) const override |
Public Member Functions inherited from PathPricer< Path > | |
virtual | ~PathPricer ()=default |
virtual Real | operator() (const Path &path) const=0 |
Private Attributes | |
Real | strike_ |
Option::Type | type_ |
std::vector< DiscountFactor > | discounts_ |
Additional Inherited Members | |
Public Types inherited from PathPricer< Path > | |
typedef Real | result_type |
Definition at line 107 of file mcperformanceengine.hpp.
PerformanceOptionPathPricer | ( | Option::Type | type, |
Real | strike, | ||
std::vector< DiscountFactor > | discounts | ||
) |
Definition at line 25 of file mcperformanceengine.cpp.
Implements PathPricer< Path >.
Definition at line 30 of file mcperformanceengine.cpp.
|
private |
Definition at line 115 of file mcperformanceengine.hpp.
|
private |
Definition at line 116 of file mcperformanceengine.hpp.
|
private |
Definition at line 117 of file mcperformanceengine.hpp.