QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <mcdigitalengine.hpp>
Public Member Functions | |
DigitalPathPricer (ext::shared_ptr< CashOrNothingPayoff > payoff, ext::shared_ptr< AmericanExercise > exercise, Handle< YieldTermStructure > discountTS, ext::shared_ptr< StochasticProcess1D > diffProcess, PseudoRandom::ursg_type sequenceGen) | |
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 | |
ext::shared_ptr< CashOrNothingPayoff > | payoff_ |
ext::shared_ptr< AmericanExercise > | exercise_ |
ext::shared_ptr< StochasticProcess1D > | diffProcess_ |
PseudoRandom::ursg_type | sequenceGen_ |
Handle< YieldTermStructure > | discountTS_ |
Additional Inherited Members | |
Public Types inherited from PathPricer< Path > | |
typedef Real | result_type |
Definition at line 112 of file mcdigitalengine.hpp.
DigitalPathPricer | ( | ext::shared_ptr< CashOrNothingPayoff > | payoff, |
ext::shared_ptr< AmericanExercise > | exercise, | ||
Handle< YieldTermStructure > | discountTS, | ||
ext::shared_ptr< StochasticProcess1D > | diffProcess, | ||
PseudoRandom::ursg_type | sequenceGen | ||
) |
Definition at line 27 of file mcdigitalengine.cpp.
Implements PathPricer< Path >.
Definition at line 36 of file mcdigitalengine.cpp.
|
private |
Definition at line 122 of file mcdigitalengine.hpp.
|
private |
Definition at line 123 of file mcdigitalengine.hpp.
|
private |
Definition at line 124 of file mcdigitalengine.hpp.
|
private |
Definition at line 125 of file mcdigitalengine.hpp.
|
private |
Definition at line 126 of file mcdigitalengine.hpp.