QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <mcpathbasketengine.hpp>
Public Member Functions | |
EuropeanPathMultiPathPricer (ext::shared_ptr< PathPayoff > &payoff, std::vector< Size > timePositions, std::vector< Handle< YieldTermStructure > > forwardTermStructures, Array discounts) | |
Real | operator() (const MultiPath &multiPath) const override |
Public Member Functions inherited from PathPricer< MultiPath > | |
virtual | ~PathPricer ()=default |
virtual Real | operator() (const MultiPath &path) const=0 |
Private Attributes | |
ext::shared_ptr< PathPayoff > | payoff_ |
std::vector< Size > | timePositions_ |
std::vector< Handle< YieldTermStructure > > | forwardTermStructures_ |
Array | discounts_ |
Additional Inherited Members | |
Public Types inherited from PathPricer< MultiPath > | |
typedef Real | result_type |
Definition at line 91 of file mcpathbasketengine.hpp.
EuropeanPathMultiPathPricer | ( | ext::shared_ptr< PathPayoff > & | payoff, |
std::vector< Size > | timePositions, | ||
std::vector< Handle< YieldTermStructure > > | forwardTermStructures, | ||
Array | discounts | ||
) |
Definition at line 25 of file mcpathbasketengine.cpp.
Implements PathPricer< MultiPath >.
Definition at line 33 of file mcpathbasketengine.cpp.
|
private |
Definition at line 100 of file mcpathbasketengine.hpp.
|
private |
Definition at line 101 of file mcpathbasketengine.hpp.
|
private |
Definition at line 102 of file mcpathbasketengine.hpp.
|
private |
Definition at line 103 of file mcpathbasketengine.hpp.