QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Monte Carlo American engine factory. More...
#include <mcamericanengine.hpp>
Public Member Functions | |
MakeMCAmericanEngine (ext::shared_ptr< GeneralizedBlackScholesProcess >) | |
MakeMCAmericanEngine & | withSteps (Size steps) |
MakeMCAmericanEngine & | withStepsPerYear (Size steps) |
MakeMCAmericanEngine & | withSamples (Size samples) |
MakeMCAmericanEngine & | withAbsoluteTolerance (Real tolerance) |
MakeMCAmericanEngine & | withMaxSamples (Size samples) |
MakeMCAmericanEngine & | withSeed (BigNatural seed) |
MakeMCAmericanEngine & | withAntitheticVariate (bool b=true) |
MakeMCAmericanEngine & | withControlVariate (bool b=true) |
MakeMCAmericanEngine & | withPolynomialOrder (Size polynomialOrder) |
MakeMCAmericanEngine & | withBasisSystem (LsmBasisSystem::PolynomialType) |
MakeMCAmericanEngine & | withCalibrationSamples (Size calibrationSamples) |
MakeMCAmericanEngine & | withAntitheticVariateCalibration (bool b=true) |
MakeMCAmericanEngine & | withSeedCalibration (BigNatural seed) |
operator ext::shared_ptr< PricingEngine > () const | |
Private Attributes | |
ext::shared_ptr< GeneralizedBlackScholesProcess > | process_ |
bool | antithetic_ = false |
bool | controlVariate_ = false |
Size | steps_ |
Size | stepsPerYear_ |
Size | samples_ |
Size | maxSamples_ |
Size | calibrationSamples_ = 2048 |
Real | tolerance_ |
BigNatural | seed_ = 0 |
Size | polynomialOrder_ = 2 |
LsmBasisSystem::PolynomialType | polynomialType_ = LsmBasisSystem::Monomial |
ext::optional< bool > | antitheticCalibration_ |
BigNatural | seedCalibration_ |
Monte Carlo American engine factory.
Definition at line 108 of file mcamericanengine.hpp.
MakeMCAmericanEngine | ( | ext::shared_ptr< GeneralizedBlackScholesProcess > | process | ) |
Definition at line 268 of file mcamericanengine.hpp.
MakeMCAmericanEngine< RNG, S, RNG_Calibration > & withSteps | ( | Size | steps | ) |
Definition at line 290 of file mcamericanengine.hpp.
MakeMCAmericanEngine< RNG, S, RNG_Calibration > & withStepsPerYear | ( | Size | steps | ) |
Definition at line 297 of file mcamericanengine.hpp.
MakeMCAmericanEngine< RNG, S, RNG_Calibration > & withSamples | ( | Size | samples | ) |
Definition at line 305 of file mcamericanengine.hpp.
MakeMCAmericanEngine< RNG, S, RNG_Calibration > & withAbsoluteTolerance | ( | Real | tolerance | ) |
Definition at line 314 of file mcamericanengine.hpp.
MakeMCAmericanEngine< RNG, S, RNG_Calibration > & withMaxSamples | ( | Size | samples | ) |
Definition at line 327 of file mcamericanengine.hpp.
MakeMCAmericanEngine< RNG, S, RNG_Calibration > & withSeed | ( | BigNatural | seed | ) |
Definition at line 343 of file mcamericanengine.hpp.
MakeMCAmericanEngine< RNG, S, RNG_Calibration > & withAntitheticVariate | ( | bool | b = true | ) |
Definition at line 350 of file mcamericanengine.hpp.
MakeMCAmericanEngine< RNG, S, RNG_Calibration > & withControlVariate | ( | bool | b = true | ) |
Definition at line 358 of file mcamericanengine.hpp.
MakeMCAmericanEngine< RNG, S, RNG_Calibration > & withPolynomialOrder | ( | Size | polynomialOrder | ) |
Definition at line 276 of file mcamericanengine.hpp.
MakeMCAmericanEngine< RNG, S, RNG_Calibration > & withBasisSystem | ( | LsmBasisSystem::PolynomialType | polynomialType | ) |
Definition at line 283 of file mcamericanengine.hpp.
MakeMCAmericanEngine< RNG, S, RNG_Calibration > & withCalibrationSamples | ( | Size | calibrationSamples | ) |
Definition at line 335 of file mcamericanengine.hpp.
MakeMCAmericanEngine< RNG, S, RNG_Calibration > & withAntitheticVariateCalibration | ( | bool | b = true | ) |
Definition at line 365 of file mcamericanengine.hpp.
MakeMCAmericanEngine< RNG, S, RNG_Calibration > & withSeedCalibration | ( | BigNatural | seed | ) |
Definition at line 372 of file mcamericanengine.hpp.
operator ext::shared_ptr< PricingEngine > |
Definition at line 379 of file mcamericanengine.hpp.
|
private |
Definition at line 129 of file mcamericanengine.hpp.
|
private |
Definition at line 130 of file mcamericanengine.hpp.
|
private |
Definition at line 130 of file mcamericanengine.hpp.
|
private |
Definition at line 131 of file mcamericanengine.hpp.
|
private |
Definition at line 131 of file mcamericanengine.hpp.
|
private |
Definition at line 132 of file mcamericanengine.hpp.
|
private |
Definition at line 132 of file mcamericanengine.hpp.
|
private |
Definition at line 132 of file mcamericanengine.hpp.
|
private |
Definition at line 133 of file mcamericanengine.hpp.
|
private |
Definition at line 134 of file mcamericanengine.hpp.
|
private |
Definition at line 135 of file mcamericanengine.hpp.
|
private |
Definition at line 136 of file mcamericanengine.hpp.
|
private |
Definition at line 137 of file mcamericanengine.hpp.
|
private |
Definition at line 138 of file mcamericanengine.hpp.