AnyLogic
Expand
Font size
All Superinterfaces:
IBoundedVariable, IVariable
All Known Implementing Classes:
MetalDiscreteVariable, OptQuestDiscreteVariable

public interface IDiscreteVariable
extends IBoundedVariable

Method Summary

Modifier and TypeMethodDescription
DiscreteParameterDataTypegetDataType() 
default OptimizationParameterTypegetParameterType() 
voidset(String name, DiscreteParameterDataType parameterType, String min, String max, String step) 

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

getName, setName

Method Details

set

void set(String name,
 DiscreteParameterDataType parameterType,
 String min,
 String max,
 String step)

getParameterType

default OptimizationParameterType getParameterType()
Specified by:
getParameterType in interface IVariable

getDataType

DiscreteParameterDataType getDataType()