31#include <ql/shared_ptr.hpp>
45 const QuantLib::ext::shared_ptr<CreditSimulationParameters>& creditSimulationParameters,
46 const QuantLib::ext::shared_ptr<NPVCube>& cube,
47 const QuantLib::ext::shared_ptr<CubeInterpretation> cubeInterpretation,
48 const QuantLib::ext::shared_ptr<NPVCube>& nettedcube,
49 const QuantLib::ext::shared_ptr<AggregationScenarioData>& aggregationScenarioData,
50 const std::vector<Real>& creditMigrationDistributionGrid,
51 const std::vector<Size>& creditMigrationTimeSteps,
52 const Matrix& creditStateCorrelationMatrix,
const std::string baseCurrency);
57 const std::vector<std::vector<Real>>
cdf()
const {
return cdf_; }
58 const std::vector<std::vector<Real>>
pdf()
const {
return pdf_; }
63 QuantLib::ext::shared_ptr<NPVCube>
cube_;
73 std::vector<std::vector<Real>>
cdf_;
74 std::vector<std::vector<Real>>
pdf_;
Credit Migration Calculator.
std::vector< std::vector< Real > > pdf_
std::vector< std::vector< Real > > cdf_
std::string baseCurrency_
const std::vector< std::vector< Real > > cdf() const
QuantLib::ext::shared_ptr< NPVCube > nettedCube_
QuantLib::ext::shared_ptr< AggregationScenarioData > aggregationScenarioData_
QuantLib::ext::shared_ptr< Portfolio > portfolio_
const std::vector< Real > upperBucketBounds() const
QuantLib::ext::shared_ptr< CubeInterpretation > cubeInterpretation_
std::vector< Size > creditMigrationTimeSteps_
QuantLib::ext::shared_ptr< CreditSimulationParameters > creditSimulationParameters_
Matrix creditStateCorrelationMatrix_
std::vector< Real > creditMigrationDistributionGrid_
std::vector< Real > upperBucketBounds_
const std::vector< std::vector< Real > > pdf() const
QuantLib::ext::shared_ptr< NPVCube > cube_
Credit simulation parameter class.
class describing the layout of an npv cube and aggregation scenario data