Package org.drip.state.estimator
Class SmoothingCurveStretchParams
java.lang.Object
org.drip.state.estimator.SmoothingCurveStretchParams
- Direct Known Subclasses:
GlobalControlCurveParams
,LocalControlCurveParams
public abstract class SmoothingCurveStretchParams
extends java.lang.Object
SmoothingCurveStretchParams contains the Parameters needed to hold the Stretch. It provides
functionality to:
- SmoothingCurveStretchParams constructor
- Set the Stretch's Segment Builder Control
- Retrieve the Curve Smoothening Quantification Metric
- Retrieve the Calibration Detail
- Retrieve the Default Segment Builder Parameters
- Retrieve the Segment Builder Parameters
- Retrieve the Best Fit Weighted Response
- Retrieve the Best Fit Weighted Response Sensitivity
Module | Product Core Module |
Library | Fixed Income Analytics |
Project | Latent State Inference and Creation Utilities |
Package | Multi-Pass Customized Stretch Curve |
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description SmoothingCurveStretchParams(java.lang.String smootheningQuantificationMetric, SegmentCustomBuilderControl segmentCustomBuilderControlDefault, int calibrationDetail, StretchBestFitResponse stretchBestFitResponse, StretchBestFitResponse stretchBestFitResponseSensitivity)
SmoothingCurveStretchParams constructor -
Method Summary
Modifier and Type Method Description StretchBestFitResponse
bestFitWeightedResponse()
Retrieve the Best Fit Weighted ResponseStretchBestFitResponse
bestFitWeightedResponseSensitivity()
Retrieve the Best Fit Weighted Response Sensitivityint
calibrationDetail()
Retrieve the Calibration DetailSegmentCustomBuilderControl
defaultSegmentBuilderControl()
Retrieve the Default Segment Builder ParametersSegmentCustomBuilderControl
segmentBuilderControl(java.lang.String stretchName)
Retrieve the Segment Builder Parametersboolean
setStretchSegmentBuilderControl(java.lang.String stretchName, SegmentCustomBuilderControl segmentCustomBuilderControl)
Set the Stretch's Segment Builder Controljava.lang.String
smootheningQuantificationMetric()
Retrieve the Curve Smoothening Quantification MetricMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SmoothingCurveStretchParams
public SmoothingCurveStretchParams(java.lang.String smootheningQuantificationMetric, SegmentCustomBuilderControl segmentCustomBuilderControlDefault, int calibrationDetail, StretchBestFitResponse stretchBestFitResponse, StretchBestFitResponse stretchBestFitResponseSensitivity) throws java.lang.ExceptionSmoothingCurveStretchParams constructor- Parameters:
smootheningQuantificationMetric
- Curve Smoothening Quantification MetricsegmentCustomBuilderControlDefault
- Default Segment Builder ParameterscalibrationDetail
- The Calibration DetailstretchBestFitResponse
- Stretch Fitness Weighted ResponsestretchBestFitResponseSensitivity
- Stretch Fitness Weighted Response Sensitivity- Throws:
java.lang.Exception
- Thrown if the inputs are invalid
-
-
Method Details
-
setStretchSegmentBuilderControl
public boolean setStretchSegmentBuilderControl(java.lang.String stretchName, SegmentCustomBuilderControl segmentCustomBuilderControl)Set the Stretch's Segment Builder Control- Parameters:
stretchName
- Name of the Stretch for which the Segment Builder Parameters need to be setsegmentCustomBuilderControl
- The Segment Builder Parameters- Returns:
- TRUE - The Segment Builder Control Parameters have been successfully set
-
smootheningQuantificationMetric
public java.lang.String smootheningQuantificationMetric()Retrieve the Curve Smoothening Quantification Metric- Returns:
- The Curve Smoothening Quantification Metric
-
calibrationDetail
public int calibrationDetail()Retrieve the Calibration Detail- Returns:
- The Calibration Detail
-
defaultSegmentBuilderControl
Retrieve the Default Segment Builder Parameters- Returns:
- The Default Segment Builder Parameters
-
segmentBuilderControl
Retrieve the Segment Builder Parameters- Parameters:
stretchName
- Name of the Stretch for which the Segment Builder Parameters are requested- Returns:
- The Segment Builder Parameters
-
bestFitWeightedResponse
Retrieve the Best Fit Weighted Response- Returns:
- The Best Fit Weighted Response
-
bestFitWeightedResponseSensitivity
Retrieve the Best Fit Weighted Response Sensitivity- Returns:
- The Best Fit Weighted Response Sensitivity
-