public class OverlappingStretchSpan extends java.lang.Object implements Span
Constructor and Description |
---|
OverlappingStretchSpan(MultiSegmentSequence mss)
OverlappingStretchSpan constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
addStretch(MultiSegmentSequence mss)
Add a Stretch to the Span
|
double |
calcResponseValue(double dblPredictorOrdinate)
Compute the Response from the containing Stretches
|
void |
displayString()
Display the Span Edge Coordinates
|
MultiSegmentSequence |
getContainingStretch(double dblPredictorOrdinate)
Retrieve the first Stretch that contains the Predictor Ordinate
|
MultiSegmentSequence |
getStretch(java.lang.String strName)
Retrieve the Stretch by Name
|
boolean |
isMergeState(double dblPredictorOrdinate,
LatentStateLabel lsl)
Indicate if the specified Label is part of the Merge State at the specified Predictor Ordinate
|
WengertJacobian |
jackDResponseDQuote(double dblPredictorOrdinate,
int iOrder)
Calculate the Response Derivative to the Quote at the specified Ordinate
|
double |
left()
Retrieve the Left Span Edge
|
double |
right()
Retrieve the Right Span Edge
|
Span |
toNonOverlapping()
Convert the Overlapping Stretch Span to a non-overlapping Stretch Span.
|
public OverlappingStretchSpan(MultiSegmentSequence mss) throws java.lang.Exception
mss
- The Initial Stretch in the Spanjava.lang.Exception
- Thrown if the Inputs are invalidpublic boolean addStretch(MultiSegmentSequence mss)
Span
addStretch
in interface Span
mss
- Stretch to be addedpublic MultiSegmentSequence getContainingStretch(double dblPredictorOrdinate)
Span
getContainingStretch
in interface Span
dblPredictorOrdinate
- The Predictor Ordinatepublic MultiSegmentSequence getStretch(java.lang.String strName)
Span
getStretch
in interface Span
strName
- The Stretch Namepublic double left() throws java.lang.Exception
Span
public double right() throws java.lang.Exception
Span
public double calcResponseValue(double dblPredictorOrdinate) throws java.lang.Exception
Span
calcResponseValue
in interface Span
dblPredictorOrdinate
- The Predictor Ordinatejava.lang.Exception
- Thrown if the Inputs are invalidpublic boolean isMergeState(double dblPredictorOrdinate, LatentStateLabel lsl)
Span
isMergeState
in interface Span
dblPredictorOrdinate
- The Predictor Ordinatelsl
- Merge State Labelpublic WengertJacobian jackDResponseDQuote(double dblPredictorOrdinate, int iOrder)
Span
jackDResponseDQuote
in interface Span
dblPredictorOrdinate
- Predictor OrdinateiOrder
- Order of Derivative desiredpublic void displayString()
Span
displayString
in interface Span
public Span toNonOverlapping()