Credit Migration Calculator. More...
#include <orea/aggregation/creditmigrationcalculator.hpp>
Public Member Functions | |
CreditMigrationCalculator (const QuantLib::ext::shared_ptr< Portfolio > &portfolio, const QuantLib::ext::shared_ptr< CreditSimulationParameters > &creditSimulationParameters, const QuantLib::ext::shared_ptr< NPVCube > &cube, const QuantLib::ext::shared_ptr< CubeInterpretation > cubeInterpretation, const QuantLib::ext::shared_ptr< NPVCube > &nettedcube, const QuantLib::ext::shared_ptr< AggregationScenarioData > &aggregationScenarioData, const std::vector< Real > &creditMigrationDistributionGrid, const std::vector< Size > &creditMigrationTimeSteps, const Matrix &creditStateCorrelationMatrix, const std::string baseCurrency) | |
void | build () |
const std::vector< Real > | upperBucketBounds () const |
const std::vector< std::vector< Real > > | cdf () const |
const std::vector< std::vector< Real > > | pdf () const |
Private Attributes | |
QuantLib::ext::shared_ptr< Portfolio > | portfolio_ |
QuantLib::ext::shared_ptr< CreditSimulationParameters > | creditSimulationParameters_ |
QuantLib::ext::shared_ptr< NPVCube > | cube_ |
QuantLib::ext::shared_ptr< CubeInterpretation > | cubeInterpretation_ |
QuantLib::ext::shared_ptr< NPVCube > | nettedCube_ |
QuantLib::ext::shared_ptr< AggregationScenarioData > | aggregationScenarioData_ |
std::vector< Real > | creditMigrationDistributionGrid_ |
std::vector< Size > | creditMigrationTimeSteps_ |
Matrix | creditStateCorrelationMatrix_ |
std::string | baseCurrency_ |
std::vector< Real > | upperBucketBounds_ |
std::vector< std::vector< Real > > | cdf_ |
std::vector< std::vector< Real > > | pdf_ |
Credit Migration Calculator.
Definition at line 42 of file creditmigrationcalculator.hpp.
CreditMigrationCalculator | ( | const QuantLib::ext::shared_ptr< Portfolio > & | portfolio, |
const QuantLib::ext::shared_ptr< CreditSimulationParameters > & | creditSimulationParameters, | ||
const QuantLib::ext::shared_ptr< NPVCube > & | cube, | ||
const QuantLib::ext::shared_ptr< CubeInterpretation > | cubeInterpretation, | ||
const QuantLib::ext::shared_ptr< NPVCube > & | nettedcube, | ||
const QuantLib::ext::shared_ptr< AggregationScenarioData > & | aggregationScenarioData, | ||
const std::vector< Real > & | creditMigrationDistributionGrid, | ||
const std::vector< Size > & | creditMigrationTimeSteps, | ||
const Matrix & | creditStateCorrelationMatrix, | ||
const std::string | baseCurrency | ||
) |
Definition at line 25 of file creditmigrationcalculator.cpp.
void build | ( | ) |
Definition at line 40 of file creditmigrationcalculator.cpp.
const std::vector< Real > upperBucketBounds | ( | ) | const |
Definition at line 56 of file creditmigrationcalculator.hpp.
const std::vector< std::vector< Real > > cdf | ( | ) | const |
Definition at line 57 of file creditmigrationcalculator.hpp.
const std::vector< std::vector< Real > > pdf | ( | ) | const |
Definition at line 58 of file creditmigrationcalculator.hpp.
|
private |
Definition at line 61 of file creditmigrationcalculator.hpp.
|
private |
Definition at line 62 of file creditmigrationcalculator.hpp.
|
private |
Definition at line 63 of file creditmigrationcalculator.hpp.
|
private |
Definition at line 64 of file creditmigrationcalculator.hpp.
|
private |
Definition at line 65 of file creditmigrationcalculator.hpp.
|
private |
Definition at line 66 of file creditmigrationcalculator.hpp.
|
private |
Definition at line 67 of file creditmigrationcalculator.hpp.
|
private |
Definition at line 68 of file creditmigrationcalculator.hpp.
|
private |
Definition at line 69 of file creditmigrationcalculator.hpp.
|
private |
Definition at line 70 of file creditmigrationcalculator.hpp.
|
private |
Definition at line 72 of file creditmigrationcalculator.hpp.
|
private |
Definition at line 73 of file creditmigrationcalculator.hpp.
|
private |
Definition at line 74 of file creditmigrationcalculator.hpp.