- java.lang.Object
- com.anylogic.engine.optimization.metal.MetalVariable
- com.anylogic.engine.optimization.metal.MetalContinuousVariable
- All Implemented Interfaces:
IBoundedVariable
,IContinuousVariable
,IVariable
public class MetalContinuousVariable extends MetalVariable implements IContinuousVariable
Constructor | Description |
---|---|
MetalContinuousVariable() |
Modifier and Type | Method | Description |
---|---|---|
Object | getCurrentValue | |
double | getLowerBound() | |
int | getSolutionIndex() | |
double | getUpperBound() | |
boolean | isValid() | |
void | set | |
void | setMax | |
void | setMin |
getBestValue, getBestValueAsDouble, getCurrentValueAsDouble, getInternalIndex, getName, setBestValue, setInternalIndex, setName
public MetalContinuousVariable()
public Object getCurrentValue(org.uma.jmetal.solution.compositesolution.CompositeSolution solution)
- Specified by:
getCurrentValue
in classMetalVariable
public void setMin(String bound)
public void setMax(String bound)
public double getLowerBound()
public double getUpperBound()
public void set(String name, String min, String max)
- Specified by:
set
in interfaceIContinuousVariable
public boolean isValid()
- Specified by:
isValid
in classMetalVariable
public int getSolutionIndex()
- Specified by:
getSolutionIndex
in classMetalVariable