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

public class OptQuestBinaryVariable
extends OptQuestVariable
implements IBinaryVariable

Constructor Summary

ConstructorDescription
OptQuestBinaryVariable() 

Method Summary

Modifier and TypeMethodDescription
doubleconvertToDouble(Object object) 
ObjectconvertToObject(double value) 
voidset(String name) 

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

getParameterType

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

getName, setName

Constructor Details

OptQuestBinaryVariable

public OptQuestBinaryVariable()

Method Details

set

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

convertToObject

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

convertToDouble

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