QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Monte Carlo barrier-option engine factory. More...
#include <mcbarrierengine.hpp>
Public Member Functions | |
MakeMCBarrierEngine (ext::shared_ptr< GeneralizedBlackScholesProcess >) | |
MakeMCBarrierEngine & | withSteps (Size steps) |
MakeMCBarrierEngine & | withStepsPerYear (Size steps) |
MakeMCBarrierEngine & | withBrownianBridge (bool b=true) |
MakeMCBarrierEngine & | withAntitheticVariate (bool b=true) |
MakeMCBarrierEngine & | withSamples (Size samples) |
MakeMCBarrierEngine & | withAbsoluteTolerance (Real tolerance) |
MakeMCBarrierEngine & | withMaxSamples (Size samples) |
MakeMCBarrierEngine & | withBias (bool b=true) |
MakeMCBarrierEngine & | withSeed (BigNatural seed) |
operator ext::shared_ptr< PricingEngine > () const | |
Private Attributes | |
ext::shared_ptr< GeneralizedBlackScholesProcess > | process_ |
bool | brownianBridge_ = false |
bool | antithetic_ = false |
bool | biased_ = false |
Size | steps_ |
Size | stepsPerYear_ |
Size | samples_ |
Size | maxSamples_ |
Real | tolerance_ |
BigNatural | seed_ = 0 |
Monte Carlo barrier-option engine factory.
Definition at line 116 of file mcbarrierengine.hpp.
MakeMCBarrierEngine | ( | ext::shared_ptr< GeneralizedBlackScholesProcess > | process | ) |
Definition at line 274 of file mcbarrierengine.hpp.
MakeMCBarrierEngine< RNG, S > & withSteps | ( | Size | steps | ) |
Definition at line 281 of file mcbarrierengine.hpp.
MakeMCBarrierEngine< RNG, S > & withStepsPerYear | ( | Size | steps | ) |
Definition at line 288 of file mcbarrierengine.hpp.
MakeMCBarrierEngine< RNG, S > & withBrownianBridge | ( | bool | b = true | ) |
Definition at line 295 of file mcbarrierengine.hpp.
MakeMCBarrierEngine< RNG, S > & withAntitheticVariate | ( | bool | b = true | ) |
Definition at line 302 of file mcbarrierengine.hpp.
MakeMCBarrierEngine< RNG, S > & withSamples | ( | Size | samples | ) |
Definition at line 309 of file mcbarrierengine.hpp.
MakeMCBarrierEngine< RNG, S > & withAbsoluteTolerance | ( | Real | tolerance | ) |
Definition at line 318 of file mcbarrierengine.hpp.
MakeMCBarrierEngine< RNG, S > & withMaxSamples | ( | Size | samples | ) |
Definition at line 330 of file mcbarrierengine.hpp.
MakeMCBarrierEngine< RNG, S > & withBias | ( | bool | b = true | ) |
Definition at line 337 of file mcbarrierengine.hpp.
MakeMCBarrierEngine< RNG, S > & withSeed | ( | BigNatural | seed | ) |
Definition at line 344 of file mcbarrierengine.hpp.
operator ext::shared_ptr< PricingEngine > |
Definition at line 351 of file mcbarrierengine.hpp.
|
private |
Definition at line 132 of file mcbarrierengine.hpp.
|
private |
Definition at line 133 of file mcbarrierengine.hpp.
|
private |
Definition at line 133 of file mcbarrierengine.hpp.
|
private |
Definition at line 133 of file mcbarrierengine.hpp.
|
private |
Definition at line 134 of file mcbarrierengine.hpp.
|
private |
Definition at line 134 of file mcbarrierengine.hpp.
|
private |
Definition at line 134 of file mcbarrierengine.hpp.
|
private |
Definition at line 134 of file mcbarrierengine.hpp.
|
private |
Definition at line 135 of file mcbarrierengine.hpp.
|
private |
Definition at line 136 of file mcbarrierengine.hpp.