es.udc.gii.common.eaf.plugin.parameter
Class RandomValue
java.lang.Object
es.udc.gii.common.eaf.plugin.parameter.Parameter
es.udc.gii.common.eaf.plugin.parameter.RandomValue
- All Implemented Interfaces:
- Configurable, Plugin
public class RandomValue
- extends Parameter
A parameter that returns a evenly distributed random value between two given
bounds.
- Author:
- rafa
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lowerBound
private double lowerBound
upperBound
private double upperBound
RandomValue
public RandomValue(double lowerBound,
double upperBound)
RandomValue
public RandomValue()
get
public double get(EvolutionaryAlgorithm algorithm)
- Specified by:
get
in class Parameter
configure
public void configure(org.apache.commons.configuration.Configuration conf)
getLowerBound
public double getLowerBound()
setLowerBound
public void setLowerBound(double lowerBound)
getUpperBound
public double getUpperBound()
setUpperBound
public void setUpperBound(double upperBound)