Interface IndexVariableSupply
-
- All Superinterfaces:
Supply
- All Known Implementing Classes:
ExternalizedIndexVariableSupply
,IndexVariableListener
public interface IndexVariableSupply extends Supply
Only supported forlist variables
.To get an instance, demand an
IndexVariableDemand
fromInnerScoreDirector.getSupplyManager()
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Integer
getIndex(Object planningValue)
GetplanningValue
's index in thelist variable
it is an element of.
-
-
-
Method Detail
-
getIndex
Integer getIndex(Object planningValue)
GetplanningValue
's index in thelist variable
it is an element of.- Parameters:
planningValue
- never null- Returns:
planningValue
's index in the list variable it is an element of ornull
if the value is unassigned
-
-