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)
SegmentSequenceBuilder
setStretch
in interface SegmentSequenceBuilder
mss
- The Stretch that needs to be calibratedpublic BoundarySettings getCalibrationBoundaryCondition()
SegmentSequenceBuilder
getCalibrationBoundaryCondition
in interface SegmentSequenceBuilder
public boolean calibStartingSegment(double dblLeftSlope)
SegmentSequenceBuilder
calibStartingSegment
in interface SegmentSequenceBuilder
dblLeftSlope
- The Slopepublic boolean calibSegmentSequence(int iStartingSegment)
SegmentSequenceBuilder
calibSegmentSequence
in interface SegmentSequenceBuilder
iStartingSegment
- The Starting Segment in the Sequencepublic boolean manifestMeasureSensitivity(double dblLeftSlopeSensitivity)
SegmentSequenceBuilder
manifestMeasureSensitivity
in interface SegmentSequenceBuilder
dblLeftSlopeSensitivity
- The Leading Segment Left Slope Sensitivity