Package org.drip.analytics.definition
Class NodeStructure
java.lang.Object
org.drip.analytics.definition.NodeStructure
- All Implemented Interfaces:
Curve,LatentState
- Direct Known Subclasses:
BasisSplineTermStructure,VolatilityCurve
public abstract class NodeStructure extends java.lang.Object implements Curve
NodeStructure exposes the stub that implements the latent state's Node Structure (e.g., a
Deterministic Term Structure) - by Construction, this is expected to be non-local.
- Module = Product Core Module
- Library = Fixed Income Analytics
- Project = Date, Cash Flow, and Cash Flow Period Measure Generation Utilities
- Package = Latent State Curves, Surfaces, Turns
- Author:
- Lakshmi Krishnamurthy
-
Method Summary
Modifier and Type Method Description CalibratableComponent[]calibComp()Retrieve the Calibration Componentsjava.lang.Stringcurrency()Get the CurrencyLatentStatecustomTweakManifestMeasure(java.lang.String strManifestMeasure, ManifestMeasureTweak rvtp)Create a LatentState Instance from the Manifest Measure Tweak ParametersLatentStatecustomTweakQuantificationMetric(ManifestMeasureTweak rvtp)Create a LatentState Instance from the Quantification Metric Tweak ParametersJulianDateepoch()Get the Epoch DateLatentStateLabellabel()Get the Curve Latent State Identifier LabelCaseInsensitiveTreeMap<java.lang.Double>manifestMeasure(java.lang.String strInstr)Retrieve the Manifest Measure Map of the given Instrument used to construct the Curveabstract doublenode(int iPredictorOrdinate)Get the Market Node at the given Predictor Ordinatedoublenode(java.lang.String strTenor)Get the Market Node at the given Maturitydoublenode(JulianDate dt)Get the Market Node at the given Maturityabstract doublenodeDerivative(int iPredictorOrdinate, int iOrder)Get the Market Node Derivative at the given Predictor OrdinatedoublenodeDerivative(java.lang.String strTenor, int iOrder)Get the Market Node Derivative at the given MaturitydoublenodeDerivative(JulianDate dt, int iOrder)Get the Market Node Derivative at the given MaturityLatentStateparallelShiftManifestMeasure(java.lang.String strManifestMeasure, double dblShift)Create a LatentState Instance from the Manifest Measure Parallel ShiftLatentStateparallelShiftQuantificationMetric(double dblShift)Create a LatentState Instance from the Quantification Metric Parallel ShiftbooleansetCCIS(CurveConstructionInputSet ccis)Set the Curve Construction Input Set ParametersLatentStateshiftManifestMeasure(int iSpanIndex, java.lang.String strManifestMeasure, double dblShift)Create a LatentState Instance from the Shift of the Specified Manifest MeasureMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
label
Description copied from interface:CurveGet the Curve Latent State Identifier Label -
currency
public java.lang.String currency()Description copied from interface:CurveGet the Currency -
epoch
Description copied from interface:CurveGet the Epoch Date -
setCCIS
Description copied from interface:CurveSet the Curve Construction Input Set Parameters -
calibComp
Description copied from interface:CurveRetrieve the Calibration Components -
manifestMeasure
Description copied from interface:CurveRetrieve the Manifest Measure Map of the given Instrument used to construct the Curve- Specified by:
manifestMeasurein interfaceCurve- Parameters:
strInstr- The Calibration Instrument's Code whose Manifest Measure Map is sought- Returns:
- The Manifest Measure Map of the given Instrument used to construct the Curve
-
parallelShiftManifestMeasure
public LatentState parallelShiftManifestMeasure(java.lang.String strManifestMeasure, double dblShift)Description copied from interface:LatentStateCreate a LatentState Instance from the Manifest Measure Parallel Shift- Specified by:
parallelShiftManifestMeasurein interfaceLatentState- Parameters:
strManifestMeasure- The Specified Manifest MeasuredblShift- Parallel shift of the Manifest Measure- Returns:
- New LatentState Instance corresponding to the Parallel Shifted Manifest Measure
-
shiftManifestMeasure
public LatentState shiftManifestMeasure(int iSpanIndex, java.lang.String strManifestMeasure, double dblShift)Description copied from interface:LatentStateCreate a LatentState Instance from the Shift of the Specified Manifest Measure- Specified by:
shiftManifestMeasurein interfaceLatentState- Parameters:
iSpanIndex- Index into the Span that identifies the InstrumentstrManifestMeasure- The Specified Manifest MeasuredblShift- Shift of the Manifest Measure- Returns:
- New LatentState Instance corresponding to the Shift of the Specified Manifest Measure
-
customTweakManifestMeasure
public LatentState customTweakManifestMeasure(java.lang.String strManifestMeasure, ManifestMeasureTweak rvtp)Description copied from interface:LatentStateCreate a LatentState Instance from the Manifest Measure Tweak Parameters- Specified by:
customTweakManifestMeasurein interfaceLatentState- Parameters:
strManifestMeasure- The Specified Manifest Measurervtp- Manifest Measure Tweak Parameters- Returns:
- New LatentState Instance corresponding to the Tweaked Manifest Measure
-
parallelShiftQuantificationMetric
Description copied from interface:LatentStateCreate a LatentState Instance from the Quantification Metric Parallel Shift- Specified by:
parallelShiftQuantificationMetricin interfaceLatentState- Parameters:
dblShift- Parallel shift of the Quantification Metric- Returns:
- New LatentState Instance corresponding to the Parallel Shifted Quantification Metric
-
customTweakQuantificationMetric
Description copied from interface:LatentStateCreate a LatentState Instance from the Quantification Metric Tweak Parameters- Specified by:
customTweakQuantificationMetricin interfaceLatentState- Parameters:
rvtp- Quantification Metric Tweak Parameters- Returns:
- New LatentState Instance corresponding to the Tweaked Quantification Metric
-
node
public abstract double node(int iPredictorOrdinate) throws java.lang.ExceptionGet the Market Node at the given Predictor Ordinate- Parameters:
iPredictorOrdinate- The Predictor Ordinate- Returns:
- The Node evaluated from the Term Structure
- Throws:
java.lang.Exception- Thrown if the Inputs are Invalid
-
nodeDerivative
public abstract double nodeDerivative(int iPredictorOrdinate, int iOrder) throws java.lang.ExceptionGet the Market Node Derivative at the given Predictor Ordinate- Parameters:
iPredictorOrdinate- The Predictor OrdinateiOrder- Order of the Derivative- Returns:
- The Node Derivative evaluated from the Term Structure
- Throws:
java.lang.Exception- Thrown if the Inputs are Invalid
-
node
Get the Market Node at the given Maturity- Parameters:
dt- The Julian Maturity Date- Returns:
- The Node evaluated from the Term Structure
- Throws:
java.lang.Exception- Thrown if the Inputs are Invalid
-
node
public double node(java.lang.String strTenor) throws java.lang.ExceptionGet the Market Node at the given Maturity- Parameters:
strTenor- The Maturity Tenor- Returns:
- The Node evaluated from the Term Structure
- Throws:
java.lang.Exception- Thrown if the Inputs are Invalid
-
nodeDerivative
Get the Market Node Derivative at the given Maturity- Parameters:
dt- The Julian Maturity DateiOrder- Order of the Derivative- Returns:
- The Node Derivative evaluated from the Term Structure
- Throws:
java.lang.Exception- Thrown if the Inputs are Invalid
-
nodeDerivative
public double nodeDerivative(java.lang.String strTenor, int iOrder) throws java.lang.ExceptionGet the Market Node Derivative at the given Maturity- Parameters:
strTenor- The Maturity TenoriOrder- Order of the Derivative- Returns:
- The Node Derivative evaluated from the Term Structure
- Throws:
java.lang.Exception- Thrown if the Inputs are Invalid
-