Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
BlackScholesModelWrapper Class Reference

#include <qle/models/blackscholesmodelwrapper.hpp>

+ Inheritance diagram for BlackScholesModelWrapper:
+ Collaboration diagram for BlackScholesModelWrapper:

Public Member Functions

 BlackScholesModelWrapper ()
 
 BlackScholesModelWrapper (const std::vector< QuantLib::ext::shared_ptr< GeneralizedBlackScholesProcess > > &processes, const std::set< Date > &effectiveSimulationDates, const TimeGrid &discretisationTimeGrid)
 
const std::vector< QuantLib::ext::shared_ptr< GeneralizedBlackScholesProcess > > & processes () const
 
const std::set< Date > & effectiveSimulationDates () const
 
const TimeGrid & discretisationTimeGrid () const
 

Private Member Functions

void update () override
 

Private Attributes

const std::vector< QuantLib::ext::shared_ptr< GeneralizedBlackScholesProcess > > processes_
 
const std::set< Date > effectiveSimulationDates_
 
const TimeGrid discretisationTimeGrid_
 

Detailed Description

Definition at line 36 of file blackscholesmodelwrapper.hpp.

Constructor & Destructor Documentation

◆ BlackScholesModelWrapper() [1/2]

Definition at line 38 of file blackscholesmodelwrapper.hpp.

38{}

◆ BlackScholesModelWrapper() [2/2]

BlackScholesModelWrapper ( const std::vector< QuantLib::ext::shared_ptr< GeneralizedBlackScholesProcess > > &  processes,
const std::set< Date > &  effectiveSimulationDates,
const TimeGrid &  discretisationTimeGrid 
)

Definition at line 39 of file blackscholesmodelwrapper.hpp.

const std::vector< QuantLib::ext::shared_ptr< GeneralizedBlackScholesProcess > > & processes() const
const std::set< Date > & effectiveSimulationDates() const
const std::vector< QuantLib::ext::shared_ptr< GeneralizedBlackScholesProcess > > processes_

Member Function Documentation

◆ processes()

const std::vector< QuantLib::ext::shared_ptr< GeneralizedBlackScholesProcess > > & processes ( ) const

Definition at line 44 of file blackscholesmodelwrapper.hpp.

44{ return processes_; }

◆ effectiveSimulationDates()

const std::set< Date > & effectiveSimulationDates ( ) const

Definition at line 45 of file blackscholesmodelwrapper.hpp.

◆ discretisationTimeGrid()

const TimeGrid & discretisationTimeGrid ( ) const

Definition at line 46 of file blackscholesmodelwrapper.hpp.

◆ update()

void update ( )
overrideprivate

Definition at line 49 of file blackscholesmodelwrapper.hpp.

49{ notifyObservers(); }

Member Data Documentation

◆ processes_

const std::vector<QuantLib::ext::shared_ptr<GeneralizedBlackScholesProcess> > processes_
private

Definition at line 50 of file blackscholesmodelwrapper.hpp.

◆ effectiveSimulationDates_

const std::set<Date> effectiveSimulationDates_
private

Definition at line 51 of file blackscholesmodelwrapper.hpp.

◆ discretisationTimeGrid_

const TimeGrid discretisationTimeGrid_
private

Definition at line 52 of file blackscholesmodelwrapper.hpp.