AnyLogic
Expand
Font size
All Implemented Interfaces:
IBinaryVariable, IVariable

public class MetalBinaryVariable
extends MetalVariable
implements IBinaryVariable

Constructor Summary

ConstructorDescription
MetalBinaryVariable() 

Method Summary

Modifier and TypeMethodDescription
ObjectgetCurrentValue(org.uma.jmetal.solution.compositesolution.CompositeSolution solution) 
intgetSolutionIndex() 
booleanisValid() 
voidset(String name) 

Methods inherited from class com.anylogic.engine.optimization.metal.MetalVariable

getBestValue, getBestValueAsDouble, getCurrentValueAsDouble, getInternalIndex, getName, setBestValue, setInternalIndex, setName

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods inherited from interface com.anylogic.engine.optimization.IBinaryVariable

getParameterType

Methods inherited from interface com.anylogic.engine.optimization.IVariable

getName, setName

Constructor Details

MetalBinaryVariable

public MetalBinaryVariable()

Method Details

getCurrentValue

public Object getCurrentValue(org.uma.jmetal.solution.compositesolution.CompositeSolution solution)
Specified by:
getCurrentValue in class MetalVariable

set

public void set(String name)
Specified by:
set in interface IBinaryVariable

isValid

public boolean isValid()
Specified by:
isValid in class MetalVariable

getSolutionIndex

public int getSolutionIndex()
Specified by:
getSolutionIndex in class MetalVariable