public class RepairDoubleSolutionAtBounds extends Object implements RepairDoubleSolution
| Constructor and Description |
|---|
RepairDoubleSolutionAtBounds() |
| Modifier and Type | Method and Description |
|---|---|
double |
repairSolutionVariableValue(double value,
double lowerBound,
double upperBound)
Checks if the value is between its bounds; if not, the lower or upper bound is returned
|
public double repairSolutionVariableValue(double value,
double lowerBound,
double upperBound)
repairSolutionVariableValue in interface RepairDoubleSolutionvalue - The value to be checkedlowerBound - upperBound - Copyright © 2015. All rights reserved.