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

public class OptQuestDiscreteVariable
extends OptQuestVariable
implements IDiscreteVariable

Constructor Summary

ConstructorDescription
OptQuestDiscreteVariable() 

Method Summary

Modifier and TypeMethodDescription
doubleconvertToDouble(Object object) 
ObjectconvertToObject(double value) 
DiscreteParameterDataTypegetDataType() 
voidset(String name, DiscreteParameterDataType dataType, String min, String max, String step) 

Methods inherited from class com.anylogic.engine.optimization.optquest.OptQuestVariable

getName, getOQVariable, 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.IDiscreteVariable

getParameterType

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

getName, setName

Constructor Details

OptQuestDiscreteVariable

public OptQuestDiscreteVariable()

Method Details

set

public void set(String name,
 DiscreteParameterDataType dataType,
 String min,
 String max,
 String step)
Specified by:
set in interface IDiscreteVariable

getDataType

public DiscreteParameterDataType getDataType()
Specified by:
getDataType in interface IDiscreteVariable

convertToObject

public Object convertToObject(double value)
Specified by:
convertToObject in class OptQuestVariable

convertToDouble

public double convertToDouble(Object object)
Specified by:
convertToDouble in class OptQuestVariable