public interface ScalarConstraint extends Constraint
| Modifier and Type | Method and Description |
|---|---|
double |
apply(double parameterToTest)
Forces the parameter to respect a certain condition.
|
double |
getLowerBound()
Returns the lower bound, possibly given by Double.NEGATIVE_INFINITY.
|
double |
getUpperBound()
Returns the upper bound, possibly given by Double.POSITIVE_INFINITY.
|
double apply(double parameterToTest)
parameterToTest - The value to which the constraint should be applied.double getLowerBound()
double getUpperBound()
Copyright © 2019. All rights reserved.