- java.lang.Object
- com.anylogic.engine.optimization.metal.MetalVariable
- com.anylogic.engine.optimization.metal.MetalBinaryVariable
- All Implemented Interfaces:
IBinaryVariable
,IVariable
public class MetalBinaryVariable extends MetalVariable implements IBinaryVariable
Constructor | Description |
---|---|
MetalBinaryVariable() |
Modifier and Type | Method | Description |
---|---|---|
Object | getCurrentValue | |
int | getSolutionIndex() | |
boolean | isValid() | |
void | set |
getBestValue, getBestValueAsDouble, getCurrentValueAsDouble, getInternalIndex, getName, setBestValue, setInternalIndex, setName
public MetalBinaryVariable()
public Object getCurrentValue(org.uma.jmetal.solution.compositesolution.CompositeSolution solution)
- Specified by:
getCurrentValue
in classMetalVariable
public void set(String name)
- Specified by:
set
in interfaceIBinaryVariable
public boolean isValid()
- Specified by:
isValid
in classMetalVariable
public int getSolutionIndex()
- Specified by:
getSolutionIndex
in classMetalVariable