public interface MultiSegmentSequence extends SingleSegmentSequence
Modifier and Type | Field and Description |
---|---|
static int |
CALIBRATE
Calibration Detail: Calibrate the Stretch as part of the set up
|
static int |
CALIBRATE_JACOBIAN
Calibration Detail: Calibrate the Stretch AND compute Jacobian as part of the set up
|
Modifier and Type | Method and Description |
---|---|
double |
bestFitDPE(StretchBestFitResponse sbfr)
Retrieve the Stretch Best Fit DPE
|
double |
calcLeftEdgeDerivative(int iOrder)
Calculate the Derivative of the requested order at the Left Edge of the Stretch
|
double |
calcRightEdgeDerivative(int iOrder)
Calculate the Derivative of the requested order at the right Edge of the Stretch
|
SegmentPredictorResponseDerivative |
calcSPRD(double dblPredictorOrdinate)
Calculate the SPRD at the specified Predictor Ordinate
|
MultiSegmentSequence |
clipLeft(java.lang.String strName,
double dblPredictorOrdinate)
Generate a new Stretch by clipping all the Segments to the Left of the specified Predictor Ordinate.
|
MultiSegmentSequence |
clipRight(java.lang.String strName,
double dblPredictorOrdinate)
Generate a new Stretch by clipping all the Segments to the Right of the specified Predictor Ordinate.
|
int |
containingIndex(double dblPredictorOrdinate,
boolean bIncludeLeft,
boolean bIncludeRight)
Return the Index for the Segment containing specified Predictor Ordinate
|
double |
curvatureDPE()
Retrieve the Span Curvature DPE
|
java.lang.String |
displayString()
Display the Segments
|
boolean |
in(double dblPredictorOrdinate)
Check if the Predictor Ordinate is in the Stretch Range
|
double |
lengthDPE()
Retrieve the Span Length DPE
|
MergeSubStretchManager |
msm()
Retrieve the Merge Stretch Manager if it exists.
|
java.lang.String |
name()
Retrieve the Stretch Name
|
SegmentCustomBuilderControl[] |
segmentBuilderControl()
Retrieve the Segment Builder Parameters
|
LatentStateResponseModel[] |
segments()
Retrieve the Stretch Segments
|
boolean |
setLeftNode(double dblStretchLeftResponse,
double dblStretchLeftResponseSlope,
double dblStretchRightResponse,
StretchBestFitResponse sbfr)
Set the Slope at the left Edge of the Stretch
|
boolean |
setup(double dblStretchLeftResponseValue,
SegmentResponseValueConstraint[] aSRVC,
StretchBestFitResponse sbfr,
BoundarySettings bs,
int iCalibrationDetail)
Set up (i.e., calibrate) the individual Segments in the Stretch to the Stretch Left Edge Response and
the Target Constraints.
|
boolean |
setup(SegmentResponseValueConstraint srvcLeading,
SegmentResponseValueConstraint[] aSRVC,
StretchBestFitResponse sbfr,
BoundarySettings bs,
int iCalibrationDetail)
Set up (i.e., calibrate) the individual Segments in the Stretch to the Stretch Left Edge and the Target
Constraints.
|
boolean |
setup(SegmentSequenceBuilder ssb,
int iCalibrationDetail)
Set up (i.e., calibrate) the individual Segments in the Stretch to the Stretch Edge, the Target
Constraints, and the custom segment sequence builder.
|
boolean |
setupHermite(SegmentPredictorResponseDerivative[] aSPRDLeft,
SegmentPredictorResponseDerivative[] aSPRDRight,
SegmentResponseValueConstraint[][] aaSRVC,
StretchBestFitResponse sbfr,
int iSetupMode)
Set up (i.e., calibrate) the individual Segment in the Stretch to the Target Segment Edge Values and
Constraints.
|
getLeftPredictorOrdinateEdge, getRightPredictorOrdinateEdge, isCoMonotone, isKnot, isLocallyMonotone, jackDResponseDCalibrationInput, jackDResponseDManifestMeasure, monotoneType, resetNode, resetNode, responseValue, responseValueDerivative, setup, toAU
static final int CALIBRATE
static final int CALIBRATE_JACOBIAN
java.lang.String name()
SegmentCustomBuilderControl[] segmentBuilderControl()
LatentStateResponseModel[] segments()
boolean setupHermite(SegmentPredictorResponseDerivative[] aSPRDLeft, SegmentPredictorResponseDerivative[] aSPRDRight, SegmentResponseValueConstraint[][] aaSRVC, StretchBestFitResponse sbfr, int iSetupMode)
aSPRDLeft
- Array of Left Segment Edge ValuesaSPRDRight
- Array of Right Segment Edge ValuesaaSRVC
- Double Array of Constraints - Outer Index corresponds to Segment Index, and the Inner
Index to Constraint Array within each Segmentsbfr
- Stretch Fitness Weighted ResponseiSetupMode
- Set up Mode (i.e., set up ITEP only, or fully calibrate the Stretch, or calibrate
Stretch plus compute Jacobian)boolean setLeftNode(double dblStretchLeftResponse, double dblStretchLeftResponseSlope, double dblStretchRightResponse, StretchBestFitResponse sbfr)
dblStretchLeftResponse
- Response Value at the Left Edge of the StretchdblStretchLeftResponseSlope
- Response Slope Value at the Left Edge of the StretchdblStretchRightResponse
- Response Value at the Right Edge of the Stretchsbfr
- Stretch Fitness Weighted ResponseSegmentPredictorResponseDerivative calcSPRD(double dblPredictorOrdinate)
dblPredictorOrdinate
- The Predictor Ordinatedouble calcLeftEdgeDerivative(int iOrder) throws java.lang.Exception
iOrder
- Order of the Derivativejava.lang.Exception
- Thrown if the Derivative cannot be calculateddouble calcRightEdgeDerivative(int iOrder) throws java.lang.Exception
iOrder
- Order of the Derivativejava.lang.Exception
- Thrown if the Derivative cannot be calculatedboolean in(double dblPredictorOrdinate) throws java.lang.Exception
dblPredictorOrdinate
- Predictor Ordinatejava.lang.Exception
- Thrown if the Inputs are invalidint containingIndex(double dblPredictorOrdinate, boolean bIncludeLeft, boolean bIncludeRight) throws java.lang.Exception
dblPredictorOrdinate
- Predictor OrdinatebIncludeLeft
- TRUE - Less than or equal to the Left Predictor OrdinatebIncludeRight
- TRUE - Less than or equal to the Right Predictor Ordinatejava.lang.Exception
- Thrown if the Inputs are invalidboolean setup(SegmentSequenceBuilder ssb, int iCalibrationDetail)
ssb
- The Segment Sequence Builder InstanceiCalibrationDetail
- The Calibration Detailboolean setup(SegmentResponseValueConstraint srvcLeading, SegmentResponseValueConstraint[] aSRVC, StretchBestFitResponse sbfr, BoundarySettings bs, int iCalibrationDetail)
srvcLeading
- Stretch Left-most Segment Response Value ConstraintaSRVC
- Array of Segment Response Value Constraintssbfr
- Stretch Fitness Weighted Responsebs
- The Calibration Boundary ConditioniCalibrationDetail
- The Calibration Detailboolean setup(double dblStretchLeftResponseValue, SegmentResponseValueConstraint[] aSRVC, StretchBestFitResponse sbfr, BoundarySettings bs, int iCalibrationDetail)
dblStretchLeftResponseValue
- Stretch Left-most Response ValueaSRVC
- Array of Segment Response Value Constraintssbfr
- Stretch Best Fit Weighted Response Valuesbs
- The Calibration Boundary ConditioniCalibrationDetail
- The Calibration DetailMultiSegmentSequence clipLeft(java.lang.String strName, double dblPredictorOrdinate)
strName
- Name of the Clipped StretchdblPredictorOrdinate
- Predictor Ordinate Left of which the Clipping is to be appliedMultiSegmentSequence clipRight(java.lang.String strName, double dblPredictorOrdinate)
strName
- Name of the Clipped StretchdblPredictorOrdinate
- Predictor Ordinate Right of which the Clipping is to be applieddouble curvatureDPE() throws java.lang.Exception
java.lang.Exception
- Thrown if the Span Curvature DPE cannot be computeddouble lengthDPE() throws java.lang.Exception
java.lang.Exception
- Thrown if the Span Length DPE cannot be computeddouble bestFitDPE(StretchBestFitResponse sbfr) throws java.lang.Exception
sbfr
- Stretch Best Fit Weighted Response Valuesjava.lang.Exception
- Thrown if the Stretch Best Fit DPE cannot be computedMergeSubStretchManager msm()
java.lang.String displayString()