|
QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.38
|
#include <mcbarrierengine.hpp>
Inheritance diagram for BiasedBarrierPathPricer:
Collaboration diagram for BiasedBarrierPathPricer:Public Member Functions | |
| BiasedBarrierPathPricer (Barrier::Type barrierType, Real barrier, Real rebate, 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 | |
| Barrier::Type | barrierType_ |
| Real | barrier_ |
| Real | rebate_ |
| PlainVanillaPayoff | payoff_ |
| std::vector< DiscountFactor > | discounts_ |
Additional Inherited Members | |
Public Types inherited from PathPricer< Path > | |
| typedef Real | result_type |
Definition at line 163 of file mcbarrierengine.hpp.
| BiasedBarrierPathPricer | ( | Barrier::Type | barrierType, |
| Real | barrier, | ||
| Real | rebate, | ||
| Option::Type | type, | ||
| Real | strike, | ||
| std::vector< DiscountFactor > | discounts | ||
| ) |
Definition at line 159 of file mcbarrierengine.cpp.
Implements PathPricer< Path >.
Definition at line 174 of file mcbarrierengine.cpp.
Here is the call graph for this function:
|
private |
Definition at line 174 of file mcbarrierengine.hpp.
|
private |
Definition at line 175 of file mcbarrierengine.hpp.
|
private |
Definition at line 176 of file mcbarrierengine.hpp.
|
private |
Definition at line 177 of file mcbarrierengine.hpp.
|
private |
Definition at line 178 of file mcbarrierengine.hpp.