Class ListVariableTracker.TrackerDemand

java.lang.Object
ai.timefold.solver.core.impl.domain.variable.listener.support.violation.ListVariableTracker.TrackerDemand
All Implemented Interfaces:
Demand<ListVariableTracker<Solution_>>
Enclosing class:
ListVariableTracker<Solution_>

public class ListVariableTracker.TrackerDemand extends Object implements Demand<ListVariableTracker<Solution_>>
In order for the ListVariableTracker to be registered as a variable listener, it needs to be passed to the InnerScoreDirector.getSupplyManager(), which requires a Demand.

Unlike most other Demands, there will only be one instance of ListVariableTracker in the InnerScoreDirector for each list variable.