public class PositivityConstraint extends BoundConstraint
| Constructor and Description |
|---|
PositivityConstraint() |
| Modifier and Type | Method and Description |
|---|---|
double |
apply(double parameterToTest)
Forces the parameter to respect a certain condition.
|
getLowerBound, getUpperBoundpublic double apply(double parameterToTest)
ScalarConstraintapply in interface ScalarConstraintapply in class BoundConstraintparameterToTest - The value to which the constraint should be applied.Copyright © 2019. All rights reserved.