java.lang.Object
simpa.acc.api.match.MatchingTarget
Class containing the parameter to be matched, the target value and its
weight.
- Author:
- lbojtar
-
Constructor Summary
ConstructorsConstructorDescriptionMatchingTarget
(double targetValue, MatchingTargetType type, Double longitudinalPosition, double weight) Creates a new MatchingTarget object with the default weight of 1.0MatchingTarget
(double targetValue, MatchingTargetType type, Double longitudinalPosition, double weight, MatchingValueType valueType) Creates a new MatchingTarget object with the specified vale type. -
Method Summary
-
Constructor Details
-
MatchingTarget
public MatchingTarget(double targetValue, MatchingTargetType type, Double longitudinalPosition, double weight) Creates a new MatchingTarget object with the default weight of 1.0- Parameters:
targetValue
- The value of the parameter to be matchedtype
- The parameter to be matchedlongitudinalPosition
- The longitudinal position of the parameter to be matchedweight
- The weight of the parameter to be matched. Default value is 1.0
-
MatchingTarget
public MatchingTarget(double targetValue, MatchingTargetType type, Double longitudinalPosition, double weight, MatchingValueType valueType) Creates a new MatchingTarget object with the specified vale type.- Parameters:
targetValue
- The value of the parameter to be matchedtype
- The parameter to be matchedlongitudinalPosition
- The longitudinal position of the parameter to beweight
- The weight of the parameter to be matched. Default value is 1.0 matchedvalueType
- The value type type indicating if targetValue is an exact value, a lower or upper limit.
-
-
Method Details
-
getLongitudinalPosition
- Returns:
- The longitudinal position of the parameter to be matched
-
getType
- Returns:
- The parameter to be matched
-
getWeight
public double getWeight()- Returns:
- The weight of the parameter to be matched.
-
getTargetValue
public double getTargetValue()- Returns:
- The target value of the parameter to be matched.
-
getValueType
- Returns:
- Enum indicating if targetValue is an exact value, a lower or upper limit.
-