- java.lang.Object
- com.anylogic.engine.optimization.optquest.OptQuestVariable
- com.anylogic.engine.optimization.optquest.OptQuestDiscreteVariable
- All Implemented Interfaces:
IBoundedVariable
,IDiscreteVariable
,IVariable
public class OptQuestDiscreteVariable extends OptQuestVariable implements IDiscreteVariable
Constructor | Description |
---|---|
OptQuestDiscreteVariable() |
Modifier and Type | Method | Description |
---|---|---|
double | convertToDouble | |
Object | convertToObject | |
DiscreteParameterDataType | getDataType() | |
void | set |
public OptQuestDiscreteVariable()
public void set(String name, DiscreteParameterDataType dataType, String min, String max, String step)
- Specified by:
set
in interfaceIDiscreteVariable
public DiscreteParameterDataType getDataType()
- Specified by:
getDataType
in interfaceIDiscreteVariable
public Object convertToObject(double value)
- Specified by:
convertToObject
in classOptQuestVariable
public double convertToDouble(Object object)
- Specified by:
convertToDouble
in classOptQuestVariable