Scenario Generator description. More...
#include <orea/scenario/scenariogeneratordata.hpp>
Public Member Functions | |
ScenarioGeneratorData () | |
ScenarioGeneratorData (QuantLib::ext::shared_ptr< DateGrid > dateGrid, SequenceType sequenceType, long seed, Size samples, SobolBrownianGenerator::Ordering ordering=SobolBrownianGenerator::Steps, SobolRsg::DirectionIntegers directionIntegers=SobolRsg::JoeKuoD7, bool withCloseOutLag=false, bool withMporStickyDate=false) | |
Constructor. More... | |
void | clear () |
virtual void | fromXML (XMLNode *node) override |
Load members from XML. More... | |
virtual XMLNode * | toXML (XMLDocument &doc) const override |
Write members to XML. More... | |
Inspectors | |
QuantLib::ext::shared_ptr< DateGrid > | getGrid () const |
SequenceType | sequenceType () const |
long | seed () const |
Size | samples () const |
SobolBrownianGenerator::Ordering | ordering () const |
SobolRsg::DirectionIntegers | directionIntegers () const |
QuantLib::ext::shared_ptr< DateGrid > | closeOutDateGrid () const |
bool | withCloseOutLag () const |
bool | withMporStickyDate () const |
Period | closeOutLag () const |
Public Member Functions inherited from XMLSerializable | |
virtual | ~XMLSerializable () |
virtual void | fromXML (XMLNode *node)=0 |
virtual XMLNode * | toXML (XMLDocument &doc) const=0 |
void | fromFile (const std::string &filename) |
void | toFile (const std::string &filename) const |
void | fromXMLString (const std::string &xml) |
std::string | toXMLString () const |
Setters | |
QuantLib::ext::shared_ptr< DateGrid > | grid_ |
SequenceType | sequenceType_ |
long | seed_ |
Size | samples_ |
SobolBrownianGenerator::Ordering | ordering_ |
SobolRsg::DirectionIntegers | directionIntegers_ |
QuantLib::ext::shared_ptr< DateGrid > | closeOutDateGrid_ |
bool | withCloseOutLag_ |
bool | withMporStickyDate_ |
Period | closeOutLag_ |
MporCashFlowMode | mporCashFlowMode_ |
string | gridString_ |
void | setGrid (QuantLib::ext::shared_ptr< DateGrid > grid) |
SequenceType & | sequenceType () |
long & | seed () |
Size & | samples () |
SobolBrownianGenerator::Ordering & | ordering () |
SobolRsg::DirectionIntegers & | directionIntegers () |
bool & | withCloseOutLag () |
bool & | withMporStickyDate () |
Period & | closeOutLag () |
Scenario Generator description.
ScenarioGeneratorData wraps the specification of how to build a scenario generator from a given cross asset model and covers the choice and configuration of
Definition at line 52 of file scenariogeneratordata.hpp.
Definition at line 54 of file scenariogeneratordata.hpp.
ScenarioGeneratorData | ( | QuantLib::ext::shared_ptr< DateGrid > | dateGrid, |
SequenceType | sequenceType, | ||
long | seed, | ||
Size | samples, | ||
SobolBrownianGenerator::Ordering | ordering = SobolBrownianGenerator::Steps , |
||
SobolRsg::DirectionIntegers | directionIntegers = SobolRsg::JoeKuoD7 , |
||
bool | withCloseOutLag = false , |
||
bool | withMporStickyDate = false |
||
) |
Constructor.
Definition at line 60 of file scenariogeneratordata.hpp.
void clear | ( | ) |
Definition at line 39 of file scenariogeneratordata.cpp.
|
overridevirtual |
Load members from XML.
Implements XMLSerializable.
Definition at line 60 of file scenariogeneratordata.cpp.
|
overridevirtual |
Write members to XML.
Implements XMLSerializable.
Definition at line 137 of file scenariogeneratordata.cpp.
QuantLib::ext::shared_ptr< DateGrid > getGrid | ( | ) | const |
Definition at line 79 of file scenariogeneratordata.hpp.
SequenceType sequenceType | ( | ) | const |
Definition at line 80 of file scenariogeneratordata.hpp.
long seed | ( | ) | const |
Definition at line 81 of file scenariogeneratordata.hpp.
Size samples | ( | ) | const |
Definition at line 82 of file scenariogeneratordata.hpp.
SobolBrownianGenerator::Ordering ordering | ( | ) | const |
Definition at line 83 of file scenariogeneratordata.hpp.
SobolRsg::DirectionIntegers directionIntegers | ( | ) | const |
Definition at line 84 of file scenariogeneratordata.hpp.
QuantLib::ext::shared_ptr< DateGrid > closeOutDateGrid | ( | ) | const |
Definition at line 85 of file scenariogeneratordata.hpp.
bool withCloseOutLag | ( | ) | const |
Definition at line 86 of file scenariogeneratordata.hpp.
bool withMporStickyDate | ( | ) | const |
Definition at line 87 of file scenariogeneratordata.hpp.
Period closeOutLag | ( | ) | const |
Definition at line 88 of file scenariogeneratordata.hpp.
void setGrid | ( | QuantLib::ext::shared_ptr< DateGrid > | grid | ) |
Definition at line 44 of file scenariogeneratordata.cpp.
SequenceType & sequenceType | ( | ) |
Definition at line 94 of file scenariogeneratordata.hpp.
long & seed | ( | ) |
Definition at line 95 of file scenariogeneratordata.hpp.
Size & samples | ( | ) |
Definition at line 96 of file scenariogeneratordata.hpp.
SobolBrownianGenerator::Ordering & ordering | ( | ) |
Definition at line 97 of file scenariogeneratordata.hpp.
SobolRsg::DirectionIntegers & directionIntegers | ( | ) |
Definition at line 98 of file scenariogeneratordata.hpp.
bool & withCloseOutLag | ( | ) |
Definition at line 99 of file scenariogeneratordata.hpp.
bool & withMporStickyDate | ( | ) |
Definition at line 100 of file scenariogeneratordata.hpp.
Period & closeOutLag | ( | ) |
Definition at line 101 of file scenariogeneratordata.hpp.
|
private |
Definition at line 104 of file scenariogeneratordata.hpp.
|
private |
Definition at line 105 of file scenariogeneratordata.hpp.
|
private |
Definition at line 106 of file scenariogeneratordata.hpp.
|
private |
Definition at line 107 of file scenariogeneratordata.hpp.
|
private |
Definition at line 108 of file scenariogeneratordata.hpp.
|
private |
Definition at line 109 of file scenariogeneratordata.hpp.
|
private |
Definition at line 110 of file scenariogeneratordata.hpp.
|
private |
Definition at line 111 of file scenariogeneratordata.hpp.
|
private |
Definition at line 112 of file scenariogeneratordata.hpp.
|
private |
Definition at line 113 of file scenariogeneratordata.hpp.
|
private |
Definition at line 114 of file scenariogeneratordata.hpp.
|
private |
Definition at line 115 of file scenariogeneratordata.hpp.