Class FixedTabuSizeStrategy<Solution_>
java.lang.Object
org.optaplanner.core.impl.localsearch.decider.acceptor.tabu.size.AbstractTabuSizeStrategy<Solution_>
org.optaplanner.core.impl.localsearch.decider.acceptor.tabu.size.FixedTabuSizeStrategy<Solution_>
- All Implemented Interfaces:
TabuSizeStrategy<Solution_>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
determineTabuSize
(LocalSearchStepScope<Solution_> stepScope) Methods inherited from class org.optaplanner.core.impl.localsearch.decider.acceptor.tabu.size.AbstractTabuSizeStrategy
protectTabuSizeCornerCases
-
Field Details
-
tabuSize
protected final int tabuSize
-
-
Constructor Details
-
FixedTabuSizeStrategy
public FixedTabuSizeStrategy(int tabuSize)
-
-
Method Details
-
determineTabuSize
- Parameters:
stepScope
- never null- Returns:
>= 0
-