diff options
Diffstat (limited to 'nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/BasicBound.java')
-rw-r--r-- | nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/BasicBound.java | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/BasicBound.java b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/BasicBound.java index f7b8dfdb6f2d..31ab19f800e4 100644 --- a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/BasicBound.java +++ b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/BasicBound.java @@ -37,13 +37,6 @@ public class BasicBound { return Math.abs(maxValue-minValue); } - public boolean isSatisfyCondition(double child){ - if(child > maxValue || child < minValue) { - return(false); - } - return(true); - } - public double boundAdjust(double value){ if(value > maxValue) { value = maxValue; @@ -66,13 +59,6 @@ public class BasicBound { - public double randomAdjust (double value){ - if(value > maxValue || value < minValue) { - value = getRandomValue(); - } - return value; - } - public double getRandomValue(){ return RandomGenerator.doubleRangeRandom(minValue, maxValue); } |