QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Monte Carlo American basket-option engine factory. More...
#include <mcamericanbasketengine.hpp>
Public Member Functions | |
MakeMCAmericanBasketEngine (ext::shared_ptr< StochasticProcessArray >) | |
MakeMCAmericanBasketEngine & | withSteps (Size steps) |
MakeMCAmericanBasketEngine & | withStepsPerYear (Size steps) |
MakeMCAmericanBasketEngine & | withBrownianBridge (bool b=true) |
MakeMCAmericanBasketEngine & | withAntitheticVariate (bool b=true) |
MakeMCAmericanBasketEngine & | withSamples (Size samples) |
MakeMCAmericanBasketEngine & | withAbsoluteTolerance (Real tolerance) |
MakeMCAmericanBasketEngine & | withMaxSamples (Size samples) |
MakeMCAmericanBasketEngine & | withSeed (BigNatural seed) |
MakeMCAmericanBasketEngine & | withCalibrationSamples (Size samples) |
MakeMCAmericanBasketEngine & | withPolynomialOrder (Size polynmOrder) |
MakeMCAmericanBasketEngine & | withBasisSystem (LsmBasisSystem::PolynomialType polynomialType) |
operator ext::shared_ptr< PricingEngine > () const | |
Private Attributes | |
ext::shared_ptr< StochasticProcessArray > | process_ |
bool | brownianBridge_ = false |
bool | antithetic_ = false |
Size | steps_ |
Size | stepsPerYear_ |
Size | samples_ |
Size | maxSamples_ |
Size | calibrationSamples_ |
Size | polynomialOrder_ = 2 |
LsmBasisSystem::PolynomialType | polynomialType_ = LsmBasisSystem::Monomial |
Real | tolerance_ |
BigNatural | seed_ = 0 |
Monte Carlo American basket-option engine factory.
Definition at line 75 of file mcamericanbasketengine.hpp.
MakeMCAmericanBasketEngine | ( | ext::shared_ptr< StochasticProcessArray > | process | ) |
Definition at line 193 of file mcamericanbasketengine.hpp.
MakeMCAmericanBasketEngine< RNG > & withSteps | ( | Size | steps | ) |
Definition at line 201 of file mcamericanbasketengine.hpp.
MakeMCAmericanBasketEngine< RNG > & withStepsPerYear | ( | Size | steps | ) |
Definition at line 208 of file mcamericanbasketengine.hpp.
MakeMCAmericanBasketEngine< RNG > & withBrownianBridge | ( | bool | b = true | ) |
Definition at line 215 of file mcamericanbasketengine.hpp.
MakeMCAmericanBasketEngine< RNG > & withAntitheticVariate | ( | bool | b = true | ) |
Definition at line 222 of file mcamericanbasketengine.hpp.
MakeMCAmericanBasketEngine< RNG > & withSamples | ( | Size | samples | ) |
Definition at line 229 of file mcamericanbasketengine.hpp.
MakeMCAmericanBasketEngine< RNG > & withAbsoluteTolerance | ( | Real | tolerance | ) |
Definition at line 238 of file mcamericanbasketengine.hpp.
MakeMCAmericanBasketEngine< RNG > & withMaxSamples | ( | Size | samples | ) |
Definition at line 250 of file mcamericanbasketengine.hpp.
MakeMCAmericanBasketEngine< RNG > & withSeed | ( | BigNatural | seed | ) |
Definition at line 257 of file mcamericanbasketengine.hpp.
MakeMCAmericanBasketEngine< RNG > & withCalibrationSamples | ( | Size | samples | ) |
Definition at line 264 of file mcamericanbasketengine.hpp.
MakeMCAmericanBasketEngine< RNG > & withPolynomialOrder | ( | Size | polynmOrder | ) |
Definition at line 271 of file mcamericanbasketengine.hpp.
MakeMCAmericanBasketEngine< RNG > & withBasisSystem | ( | LsmBasisSystem::PolynomialType | polynomialType | ) |
Definition at line 278 of file mcamericanbasketengine.hpp.
operator ext::shared_ptr< PricingEngine > |
Definition at line 285 of file mcamericanbasketengine.hpp.
|
private |
Definition at line 94 of file mcamericanbasketengine.hpp.
|
private |
Definition at line 95 of file mcamericanbasketengine.hpp.
|
private |
Definition at line 95 of file mcamericanbasketengine.hpp.
|
private |
Definition at line 96 of file mcamericanbasketengine.hpp.
|
private |
Definition at line 96 of file mcamericanbasketengine.hpp.
|
private |
Definition at line 96 of file mcamericanbasketengine.hpp.
|
private |
Definition at line 96 of file mcamericanbasketengine.hpp.
|
private |
Definition at line 96 of file mcamericanbasketengine.hpp.
|
private |
Definition at line 97 of file mcamericanbasketengine.hpp.
|
private |
Definition at line 98 of file mcamericanbasketengine.hpp.
|
private |
Definition at line 99 of file mcamericanbasketengine.hpp.
|
private |
Definition at line 100 of file mcamericanbasketengine.hpp.