QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Monte Carlo pagoda-option engine factory. More...
#include <mcpagodaengine.hpp>
Public Member Functions | |
MakeMCPagodaEngine (ext::shared_ptr< StochasticProcessArray >) | |
MakeMCPagodaEngine & | withBrownianBridge (bool b=true) |
MakeMCPagodaEngine & | withAntitheticVariate (bool b=true) |
MakeMCPagodaEngine & | withSamples (Size samples) |
MakeMCPagodaEngine & | withAbsoluteTolerance (Real tolerance) |
MakeMCPagodaEngine & | withMaxSamples (Size samples) |
MakeMCPagodaEngine & | withSeed (BigNatural seed) |
operator ext::shared_ptr< PricingEngine > () const | |
Private Attributes | |
ext::shared_ptr< StochasticProcessArray > | process_ |
bool | brownianBridge_ = false |
bool | antithetic_ = false |
Size | samples_ |
Size | maxSamples_ |
Real | tolerance_ |
BigNatural | seed_ = 0 |
Monte Carlo pagoda-option engine factory.
Definition at line 94 of file mcpagodaengine.hpp.
|
explicit |
Definition at line 179 of file mcpagodaengine.hpp.
MakeMCPagodaEngine< RNG, S > & withBrownianBridge | ( | bool | b = true | ) |
Definition at line 186 of file mcpagodaengine.hpp.
MakeMCPagodaEngine< RNG, S > & withAntitheticVariate | ( | bool | b = true | ) |
Definition at line 193 of file mcpagodaengine.hpp.
MakeMCPagodaEngine< RNG, S > & withSamples | ( | Size | samples | ) |
Definition at line 200 of file mcpagodaengine.hpp.
MakeMCPagodaEngine< RNG, S > & withAbsoluteTolerance | ( | Real | tolerance | ) |
Definition at line 209 of file mcpagodaengine.hpp.
MakeMCPagodaEngine< RNG, S > & withMaxSamples | ( | Size | samples | ) |
Definition at line 221 of file mcpagodaengine.hpp.
MakeMCPagodaEngine< RNG, S > & withSeed | ( | BigNatural | seed | ) |
Definition at line 228 of file mcpagodaengine.hpp.
operator ext::shared_ptr< PricingEngine > |
Definition at line 235 of file mcpagodaengine.hpp.
|
private |
Definition at line 107 of file mcpagodaengine.hpp.
|
private |
Definition at line 108 of file mcpagodaengine.hpp.
|
private |
Definition at line 108 of file mcpagodaengine.hpp.
|
private |
Definition at line 109 of file mcpagodaengine.hpp.
|
private |
Definition at line 109 of file mcpagodaengine.hpp.
|
private |
Definition at line 110 of file mcpagodaengine.hpp.
|
private |
Definition at line 111 of file mcpagodaengine.hpp.