public class LatentStateSequenceBuilder extends java.lang.Object implements SegmentSequenceBuilder
| Constructor and Description |
|---|
LatentStateSequenceBuilder(double dblEpochResponse,
LatentStateStretchSpec stretchSpec,
ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqs,
ValuationCustomizationParams vcp,
Span span,
StretchBestFitResponse sbfr,
CaseInsensitiveHashMap<PreceedingManifestSensitivityControl> mapPMSC,
StretchBestFitResponse sbfrQuoteSensitivity,
BoundarySettings bs)
LatentStateSequenceBuilder constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
calibSegmentSequence(int iStartingSegment)
Calibrate the Segment Sequence in the Stretch
|
boolean |
calibStartingSegment(double dblLeftSlope)
Calibrate the Starting Segment using the LeftSlope
|
BoundarySettings |
getCalibrationBoundaryCondition()
Retrieve the Calibration Boundary Condition
|
boolean |
manifestMeasureSensitivity(double dblLeftSlopeSensitivity)
Compute the Stretch Manifest Measure Sensitivity Sequence
|
boolean |
setStretch(MultiSegmentSequence mss)
Set the Stretch whose Segments are to be calibrated
|
public LatentStateSequenceBuilder(double dblEpochResponse,
LatentStateStretchSpec stretchSpec,
ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqs,
ValuationCustomizationParams vcp,
Span span,
StretchBestFitResponse sbfr,
CaseInsensitiveHashMap<PreceedingManifestSensitivityControl> mapPMSC,
StretchBestFitResponse sbfrQuoteSensitivity,
BoundarySettings bs)
throws java.lang.Exception
dblEpochResponse - Segment Sequence Left-most Response ValuestretchSpec - The Latent State Stretch SpecificationvalParams - Valuation ParameterpricerParams - Pricer Parametercsqs - The Market Parameter Setvcp - Valuation Customization Parametersspan - The Containing Span this Stretch will become a part ofsbfr - Stretch Fitness Weighted ResponsemapPMSC - Map of Preceeding Manifest Sensitivity Control ParameterssbfrQuoteSensitivity - Stretch Fitness Weighted Response Quote Sensitivitybs - The Calibration Boundary Conditionjava.lang.Exception - Thrown if the Inputs are invalidpublic boolean setStretch(MultiSegmentSequence mss)
SegmentSequenceBuildersetStretch in interface SegmentSequenceBuildermss - The Stretch that needs to be calibratedpublic BoundarySettings getCalibrationBoundaryCondition()
SegmentSequenceBuildergetCalibrationBoundaryCondition in interface SegmentSequenceBuilderpublic boolean calibStartingSegment(double dblLeftSlope)
SegmentSequenceBuildercalibStartingSegment in interface SegmentSequenceBuilderdblLeftSlope - The Slopepublic boolean calibSegmentSequence(int iStartingSegment)
SegmentSequenceBuildercalibSegmentSequence in interface SegmentSequenceBuilderiStartingSegment - The Starting Segment in the Sequencepublic boolean manifestMeasureSensitivity(double dblLeftSlopeSensitivity)
SegmentSequenceBuildermanifestMeasureSensitivity in interface SegmentSequenceBuilderdblLeftSlopeSensitivity - The Leading Segment Left Slope Sensitivity