Logo
Reference manual - version orea_version
Public Member Functions | List of all members
MultiThreadedValuationEngine Class Reference
+ Inheritance diagram for MultiThreadedValuationEngine:

Public Member Functions

 MultiThreadedValuationEngine (const QuantLib::Size nThreads, const QuantLib::Date &today, const QuantLib::ext::shared_ptr< ore::analytics::DateGrid > &dateGrid, const QuantLib::Size nSamples, const QuantLib::ext::shared_ptr< ore::data::Loader > &loader, const QuantLib::ext::shared_ptr< ore::analytics::ScenarioGenerator > &scenarioGenerator, const QuantLib::ext::shared_ptr< ore::data::EngineData > &engineData, const QuantLib::ext::shared_ptr< ore::data::CurveConfigurations > &curveConfigs, const QuantLib::ext::shared_ptr< ore::data::TodaysMarketParameters > &todaysMarketParams, const std::string &configuration, const QuantLib::ext::shared_ptr< ore::analytics::ScenarioSimMarketParameters > &simMarketData, const bool useSpreadedTermStructures=false, const bool cacheSimData=false, const QuantLib::ext::shared_ptr< ore::analytics::ScenarioFilter > &scenarioFilter=QuantLib::ext::make_shared< ore::analytics::ScenarioFilter >(), const QuantLib::ext::shared_ptr< ore::data::ReferenceDataManager > &referenceData=nullptr, const ore::data::IborFallbackConfig &iborFallbackConfig=ore::data::IborFallbackConfig::defaultConfig(), const bool handlePseudoCurrenciesTodaysMarket=true, const bool handlePseudoCurrenciesSimMarket=true, const bool recalibrateModels=true, const std::function< QuantLib::ext::shared_ptr< ore::analytics::NPVCube >(const QuantLib::Date &, const std::set< std::string > &, const std::vector< QuantLib::Date > &, const QuantLib::Size)> &cubeFactory={}, const std::function< QuantLib::ext::shared_ptr< ore::analytics::NPVCube >(const QuantLib::Date &, const std::vector< QuantLib::Date > &, const QuantLib::Size)> &nettingSetCubeFactory={}, const std::function< QuantLib::ext::shared_ptr< ore::analytics::NPVCube >(const QuantLib::Date &, const std::set< std::string > &, const std::vector< QuantLib::Date > &, const QuantLib::Size)> &cptyCubeFactory={}, const std::string &context="unspecified", const QuantLib::ext::shared_ptr< ore::analytics::Scenario > &offSetScenario=nullptr)
 
void setAggregationScenarioData (const QuantLib::ext::shared_ptr< AggregationScenarioData > &aggregationScenarioData)
 
void buildCube (const QuantLib::ext::shared_ptr< ore::data::Portfolio > &portfolio, const std::function< std::vector< QuantLib::ext::shared_ptr< ore::analytics::ValuationCalculator >>()> &calculators, const std::function< std::vector< QuantLib::ext::shared_ptr< ore::analytics::CounterpartyCalculator >>()> &cptyCalculators={}, bool mporStickyDate=true, bool dryRun=false)
 
std::vector< QuantLib::ext::shared_ptr< ore::analytics::NPVCube > > outputCubes () const
 
std::vector< QuantLib::ext::shared_ptr< ore::analytics::NPVCube > > outputNettingSetCubes () const
 
std::vector< QuantLib::ext::shared_ptr< ore::analytics::NPVCube > > outputCptyCubes () const
 
- Public Member Functions inherited from ProgressReporter
void registerProgressIndicator (const QuantLib::ext::shared_ptr< ProgressIndicator > &indicator)
 
void unregisterProgressIndicator (const QuantLib::ext::shared_ptr< ProgressIndicator > &indicator)
 
void unregisterAllProgressIndicators ()
 
void updateProgress (const unsigned long progress, const unsigned long total, const std::string &detail="")
 
void resetProgress ()
 
const std::set< QuantLib::ext::shared_ptr< ProgressIndicator > > & progressIndicators () const