AnyLogic
Expand
Font size
All Implemented Interfaces:
IBoundedVariable, IContinuousVariable, IVariable

public class MetalContinuousVariable
extends MetalVariable
implements IContinuousVariable

Constructor Summary

ConstructorDescription
MetalContinuousVariable() 

Method Summary

Modifier and TypeMethodDescription
ObjectgetCurrentValue(org.uma.jmetal.solution.compositesolution.CompositeSolution solution) 
doublegetLowerBound() 
intgetSolutionIndex() 
doublegetUpperBound() 
booleanisValid() 
voidset(String name, String min, String max) 
voidsetMax(String bound) 
voidsetMin(String bound) 

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.IContinuousVariable

getParameterType

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

getName, setName

Constructor Details

MetalContinuousVariable

public MetalContinuousVariable()

Method Details

getCurrentValue

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

setMin

public void setMin(String bound)

setMax

public void setMax(String bound)

getLowerBound

public double getLowerBound()

getUpperBound

public double getUpperBound()

set

public void set(String name,
 String min,
 String max)
Specified by:
set in interface IContinuousVariable

isValid

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

getSolutionIndex

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