QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
MakeMCPagodaEngine< RNG, S > Class Template Reference

Monte Carlo pagoda-option engine factory. More...

#include <ql/experimental/exoticoptions/mcpagodaengine.hpp>

+ Collaboration diagram for MakeMCPagodaEngine< RNG, S >:

Public Member Functions

 MakeMCPagodaEngine (ext::shared_ptr< StochasticProcessArray >)
 
MakeMCPagodaEnginewithBrownianBridge (bool b=true)
 
MakeMCPagodaEnginewithAntitheticVariate (bool b=true)
 
MakeMCPagodaEnginewithSamples (Size samples)
 
MakeMCPagodaEnginewithAbsoluteTolerance (Real tolerance)
 
MakeMCPagodaEnginewithMaxSamples (Size samples)
 
MakeMCPagodaEnginewithSeed (BigNatural seed)
 
 operator ext::shared_ptr< PricingEngine > () const
 

Private Attributes

ext::shared_ptr< StochasticProcessArrayprocess_
 
bool brownianBridge_ = false
 
bool antithetic_ = false
 
Size samples_
 
Size maxSamples_
 
Real tolerance_
 
BigNatural seed_ = 0
 

Detailed Description

template<class RNG = PseudoRandom, class S = Statistics>
class QuantLib::MakeMCPagodaEngine< RNG, S >

Monte Carlo pagoda-option engine factory.

Definition at line 94 of file mcpagodaengine.hpp.

Constructor & Destructor Documentation

◆ MakeMCPagodaEngine()

MakeMCPagodaEngine ( ext::shared_ptr< StochasticProcessArray process)
explicit

Definition at line 179 of file mcpagodaengine.hpp.

Member Function Documentation

◆ withBrownianBridge()

MakeMCPagodaEngine< RNG, S > & withBrownianBridge ( bool  b = true)

Definition at line 186 of file mcpagodaengine.hpp.

◆ withAntitheticVariate()

MakeMCPagodaEngine< RNG, S > & withAntitheticVariate ( bool  b = true)

Definition at line 193 of file mcpagodaengine.hpp.

◆ withSamples()

MakeMCPagodaEngine< RNG, S > & withSamples ( Size  samples)

Definition at line 200 of file mcpagodaengine.hpp.

◆ withAbsoluteTolerance()

MakeMCPagodaEngine< RNG, S > & withAbsoluteTolerance ( Real  tolerance)

Definition at line 209 of file mcpagodaengine.hpp.

◆ withMaxSamples()

MakeMCPagodaEngine< RNG, S > & withMaxSamples ( Size  samples)

Definition at line 221 of file mcpagodaengine.hpp.

◆ withSeed()

MakeMCPagodaEngine< RNG, S > & withSeed ( BigNatural  seed)

Definition at line 228 of file mcpagodaengine.hpp.

◆ operator ext::shared_ptr< PricingEngine >()

operator ext::shared_ptr< PricingEngine >

Definition at line 235 of file mcpagodaengine.hpp.

Member Data Documentation

◆ process_

ext::shared_ptr<StochasticProcessArray> process_
private

Definition at line 107 of file mcpagodaengine.hpp.

◆ brownianBridge_

bool brownianBridge_ = false
private

Definition at line 108 of file mcpagodaengine.hpp.

◆ antithetic_

bool antithetic_ = false
private

Definition at line 108 of file mcpagodaengine.hpp.

◆ samples_

Size samples_
private

Definition at line 109 of file mcpagodaengine.hpp.

◆ maxSamples_

Size maxSamples_
private

Definition at line 109 of file mcpagodaengine.hpp.

◆ tolerance_

Real tolerance_
private

Definition at line 110 of file mcpagodaengine.hpp.

◆ seed_

BigNatural seed_ = 0
private

Definition at line 111 of file mcpagodaengine.hpp.