Package org.drip.analytics.output
Class ComponentMeasures
java.lang.Object
org.drip.analytics.output.ComponentMeasures
- Direct Known Subclasses:
BasketMeasures
public class ComponentMeasures
extends java.lang.Object
ComponentMeasures is the place holder for analytical single component output measures, optionally
across scenarios. It contains measure maps for the following scenarios:
- Unadjusted Base IR/credit curves
- Flat delta/gamma bump measure maps for IR/credit bump curves
- Tenor bump double maps for IR/credit curves
- Flat/recovery bumped measure maps for recovery bumped credit curves
- Measure Maps generated for Custom Scenarios
- Accessor Functions for the above fields
- Serialize into and de-serialize out of byte arrays
- Module = Product Core Module
- Library = Fixed Income Analytics
- Project = Date, Cash Flow, and Cash Flow Period Measure Generation Utilities
- Package = Period Product Targeted Valuation Measures
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description ComponentMeasures()
Empty constructor - all members initialized to NaN or null -
Method Summary
Modifier and Type Method Description CaseInsensitiveTreeMap<java.lang.Double>
baseMeasures()
Retrieve the Base Measure Mapdouble
calcTime()
Retrieve the Calculation TimeCaseInsensitiveTreeMap<CaseInsensitiveTreeMap<java.lang.Double>>
customMeasures()
Retrieve the Custom Double Measure MapCaseInsensitiveTreeMap<java.lang.Double>
flatCreditDeltaMeasures()
Retrieve the Flat Credit Delta Measure MapCaseInsensitiveTreeMap<java.lang.Double>
flatCreditGammaMeasures()
Retrieve the Flat Credit Gamma Measure MapCaseInsensitiveTreeMap<java.lang.Double>
flatIRDeltaMeasures()
Retrieve the Flat IR Delta Measure MapCaseInsensitiveTreeMap<java.lang.Double>
flatIRGammaMeasures()
Retrieve the Flat IR Gamma Measure MapCaseInsensitiveTreeMap<java.lang.Double>
flatRRDeltaMeasures()
Retrieve the Flat RR Delta Measure MapCaseInsensitiveTreeMap<java.lang.Double>
flatRRGammaMeasures()
Retrieve the Flat RR Gamma Measure Mapboolean
setBaseMeasures(CaseInsensitiveTreeMap<java.lang.Double> mapBaseMeasures)
Set the Base Measures Mapboolean
setCalcTime(double dblCalcTime)
Set the Calculation Timeboolean
setCustomMeasures(CaseInsensitiveTreeMap<CaseInsensitiveTreeMap<java.lang.Double>> mmCustomMeasures)
Set the Custom Double Measures Mapboolean
setFlatCreditDeltaMeasures(CaseInsensitiveTreeMap<java.lang.Double> mapFlatCreditDeltaMeasures)
Set the Flat Credit Delta Measures Mapboolean
setFlatCreditGammaMeasures(CaseInsensitiveTreeMap<java.lang.Double> mapFlatCreditGammaMeasures)
Set the Flat Credit Gamma Measures Mapboolean
setFlatIRDeltaMeasures(CaseInsensitiveTreeMap<java.lang.Double> mapFlatIRDeltaMeasures)
Set the Flat IR Delta Measures Mapboolean
setFlatIRGammaMeasures(CaseInsensitiveTreeMap<java.lang.Double> mapFlatIRGammaMeasures)
Set the Flat IR Gamma Measures Mapboolean
setFlatRRDeltaMeasures(CaseInsensitiveTreeMap<java.lang.Double> mapFlatRRDeltaMeasures)
Set the Flat RR Delta Measures Mapboolean
setFlatRRGammaMeasures(CaseInsensitiveTreeMap<java.lang.Double> mapFlatRRGammaMeasures)
Set the Flat RR Gamma Measures Mapboolean
setTenorCreditDeltaMeasures(CaseInsensitiveTreeMap<CaseInsensitiveTreeMap<java.lang.Double>> mmTenorCreditDeltaMeasures)
Set the Tenor Credit Delta Double Measures Mapboolean
setTenorCreditGammaMeasures(CaseInsensitiveTreeMap<CaseInsensitiveTreeMap<java.lang.Double>> mmTenorCreditGammaMeasures)
Set the Tenor Credit Gamma Double Measures Mapboolean
setTenorIRDeltaMeasures(CaseInsensitiveTreeMap<CaseInsensitiveTreeMap<java.lang.Double>> mmTenorIRDeltaMeasures)
Set the Tenor IR Delta Double Measures Mapboolean
setTenorIRGammaMeasures(CaseInsensitiveTreeMap<CaseInsensitiveTreeMap<java.lang.Double>> mmTenorIRGammaMeasures)
Set the Tenor IR Gamma Double Measures Mapboolean
setTenorRRDeltaMeasures(CaseInsensitiveTreeMap<CaseInsensitiveTreeMap<java.lang.Double>> mmTenorRRDeltaMeasures)
Set the Tenor RR Delta Double Measures Mapboolean
setTenorRRGammaMeasures(CaseInsensitiveTreeMap<CaseInsensitiveTreeMap<java.lang.Double>> mmTenorRRGammaMeasures)
Set the Tenor RR Gamma Double Measures MapCaseInsensitiveTreeMap<CaseInsensitiveTreeMap<java.lang.Double>>
tenorCreditDeltaMeasures()
Retrieve the Tenor Credit Delta Double Measure MapCaseInsensitiveTreeMap<CaseInsensitiveTreeMap<java.lang.Double>>
tenorCreditGammaMeasures()
Retrieve the Tenor Credit Gamma Double Measure MapCaseInsensitiveTreeMap<CaseInsensitiveTreeMap<java.lang.Double>>
tenorIRDeltaMeasures()
Retrieve the Tenor IR Delta Double Measure MapCaseInsensitiveTreeMap<CaseInsensitiveTreeMap<java.lang.Double>>
tenorIRGammaMeasures()
Retrieve the Tenor IR Gamma Double Measure MapCaseInsensitiveTreeMap<CaseInsensitiveTreeMap<java.lang.Double>>
tenorRRDeltaMeasures()
Retrieve the Tenor RR Delta Double Measure MapCaseInsensitiveTreeMap<CaseInsensitiveTreeMap<java.lang.Double>>
tenorRRGammaMeasures()
Retrieve the Tenor RR Gamma Double Measure MapMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ComponentMeasures
public ComponentMeasures()Empty constructor - all members initialized to NaN or null
-
-
Method Details
-
calcTime
public double calcTime()Retrieve the Calculation Time- Returns:
- The Calculation Time
-
setCalcTime
public boolean setCalcTime(double dblCalcTime)Set the Calculation Time- Parameters:
dblCalcTime
- The Calculation Time- Returns:
- TRUE - The Calculation Time Successfully Set
-
baseMeasures
Retrieve the Base Measure Map- Returns:
- The Base Measure Map
-
setBaseMeasures
Set the Base Measures Map- Parameters:
mapBaseMeasures
- The Base Measures Map- Returns:
- TRUE - The Base Measures Map Successfully Set
-
flatIRDeltaMeasures
Retrieve the Flat IR Delta Measure Map- Returns:
- The Flat IR Delta Measure Map
-
setFlatIRDeltaMeasures
public boolean setFlatIRDeltaMeasures(CaseInsensitiveTreeMap<java.lang.Double> mapFlatIRDeltaMeasures)Set the Flat IR Delta Measures Map- Parameters:
mapFlatIRDeltaMeasures
- The Flat IR Delta Measures Map- Returns:
- TRUE - The Flat IR Delta Measures Map Successfully Set
-
flatIRGammaMeasures
Retrieve the Flat IR Gamma Measure Map- Returns:
- The Flat IR Gamma Measure Map
-
setFlatIRGammaMeasures
public boolean setFlatIRGammaMeasures(CaseInsensitiveTreeMap<java.lang.Double> mapFlatIRGammaMeasures)Set the Flat IR Gamma Measures Map- Parameters:
mapFlatIRGammaMeasures
- The Flat IR Gamma Measures Map- Returns:
- TRUE - The Flat IR Gamma Measures Map Successfully Set
-
flatRRDeltaMeasures
Retrieve the Flat RR Delta Measure Map- Returns:
- The Flat RR Delta Measure Map
-
setFlatRRDeltaMeasures
public boolean setFlatRRDeltaMeasures(CaseInsensitiveTreeMap<java.lang.Double> mapFlatRRDeltaMeasures)Set the Flat RR Delta Measures Map- Parameters:
mapFlatRRDeltaMeasures
- The Flat RR Delta Measures Map- Returns:
- TRUE - The Flat RR Delta Measures Map Successfully Set
-
flatRRGammaMeasures
Retrieve the Flat RR Gamma Measure Map- Returns:
- The Flat RR Gamma Measure Map
-
setFlatRRGammaMeasures
public boolean setFlatRRGammaMeasures(CaseInsensitiveTreeMap<java.lang.Double> mapFlatRRGammaMeasures)Set the Flat RR Gamma Measures Map- Parameters:
mapFlatRRGammaMeasures
- The Flat RR Gamma Measures Map- Returns:
- TRUE - The Flat RR Gamma Measures Map Successfully Set
-
flatCreditDeltaMeasures
Retrieve the Flat Credit Delta Measure Map- Returns:
- The Flat Credit Delta Measure Map
-
setFlatCreditDeltaMeasures
public boolean setFlatCreditDeltaMeasures(CaseInsensitiveTreeMap<java.lang.Double> mapFlatCreditDeltaMeasures)Set the Flat Credit Delta Measures Map- Parameters:
mapFlatCreditDeltaMeasures
- The Flat Credit Delta Measures Map- Returns:
- TRUE - The Flat Credit Delta Measures Map Successfully Set
-
flatCreditGammaMeasures
Retrieve the Flat Credit Gamma Measure Map- Returns:
- The Flat Credit Gamma Measure Map
-
setFlatCreditGammaMeasures
public boolean setFlatCreditGammaMeasures(CaseInsensitiveTreeMap<java.lang.Double> mapFlatCreditGammaMeasures)Set the Flat Credit Gamma Measures Map- Parameters:
mapFlatCreditGammaMeasures
- The Flat Credit Gamma Measures Map- Returns:
- TRUE - The Flat Credit Gamma Measures Map Successfully Set
-
tenorIRDeltaMeasures
Retrieve the Tenor IR Delta Double Measure Map- Returns:
- The Tenor IR Delta Double Measure Map
-
setTenorIRDeltaMeasures
public boolean setTenorIRDeltaMeasures(CaseInsensitiveTreeMap<CaseInsensitiveTreeMap<java.lang.Double>> mmTenorIRDeltaMeasures)Set the Tenor IR Delta Double Measures Map- Parameters:
mmTenorIRDeltaMeasures
- The Tenor IR Delta Double Measures Map- Returns:
- TRUE - The Tenor IR Delta Double Measures Map Successfully Set
-
tenorIRGammaMeasures
Retrieve the Tenor IR Gamma Double Measure Map- Returns:
- The Tenor IR Gamma Double Measure Map
-
setTenorIRGammaMeasures
public boolean setTenorIRGammaMeasures(CaseInsensitiveTreeMap<CaseInsensitiveTreeMap<java.lang.Double>> mmTenorIRGammaMeasures)Set the Tenor IR Gamma Double Measures Map- Parameters:
mmTenorIRGammaMeasures
- The Tenor IR Gamma Double Measures Map- Returns:
- TRUE - The Tenor IR Gamma Double Measures Map Successfully Set
-
tenorCreditDeltaMeasures
Retrieve the Tenor Credit Delta Double Measure Map- Returns:
- The Tenor Credit Delta Double Measure Map
-
setTenorCreditDeltaMeasures
public boolean setTenorCreditDeltaMeasures(CaseInsensitiveTreeMap<CaseInsensitiveTreeMap<java.lang.Double>> mmTenorCreditDeltaMeasures)Set the Tenor Credit Delta Double Measures Map- Parameters:
mmTenorCreditDeltaMeasures
- The Tenor Credit Delta Double Measures Map- Returns:
- TRUE - The Tenor Credit Delta Double Measures Map Successfully Set
-
tenorCreditGammaMeasures
Retrieve the Tenor Credit Gamma Double Measure Map- Returns:
- The Tenor Credit Gamma Double Measure Map
-
setTenorCreditGammaMeasures
public boolean setTenorCreditGammaMeasures(CaseInsensitiveTreeMap<CaseInsensitiveTreeMap<java.lang.Double>> mmTenorCreditGammaMeasures)Set the Tenor Credit Gamma Double Measures Map- Parameters:
mmTenorCreditGammaMeasures
- The Tenor Credit Gamma Double Measures Map- Returns:
- TRUE - The Tenor Credit Gamma Double Measures Map Successfully Set
-
tenorRRDeltaMeasures
Retrieve the Tenor RR Delta Double Measure Map- Returns:
- The Tenor RR Delta Double Measure Map
-
setTenorRRDeltaMeasures
public boolean setTenorRRDeltaMeasures(CaseInsensitiveTreeMap<CaseInsensitiveTreeMap<java.lang.Double>> mmTenorRRDeltaMeasures)Set the Tenor RR Delta Double Measures Map- Parameters:
mmTenorRRDeltaMeasures
- The Tenor RR Delta Double Measures Map- Returns:
- TRUE - The Tenor RR Delta Double Measures Map Successfully Set
-
tenorRRGammaMeasures
Retrieve the Tenor RR Gamma Double Measure Map- Returns:
- The Tenor RR Gamma Double Measure Map
-
setTenorRRGammaMeasures
public boolean setTenorRRGammaMeasures(CaseInsensitiveTreeMap<CaseInsensitiveTreeMap<java.lang.Double>> mmTenorRRGammaMeasures)Set the Tenor RR Gamma Double Measures Map- Parameters:
mmTenorRRGammaMeasures
- The Tenor IR Gamma Double Measures Map- Returns:
- TRUE - The Tenor RR Gamma Double Measures Map Successfully Set
-
customMeasures
Retrieve the Custom Double Measure Map- Returns:
- The Custom Double Measure Map
-
setCustomMeasures
public boolean setCustomMeasures(CaseInsensitiveTreeMap<CaseInsensitiveTreeMap<java.lang.Double>> mmCustomMeasures)Set the Custom Double Measures Map- Parameters:
mmCustomMeasures
- The Custom Double Measures Map- Returns:
- TRUE - The Custom Double Measures Map Successfully Set
-