Class ValueRatioTabuSizeStrategy<Solution_>
java.lang.Object
org.optaplanner.core.impl.localsearch.decider.acceptor.tabu.size.AbstractTabuSizeStrategy<Solution_>
org.optaplanner.core.impl.localsearch.decider.acceptor.tabu.size.ValueRatioTabuSizeStrategy<Solution_>
- All Implemented Interfaces:
TabuSizeStrategy<Solution_>
-
Field Summary
-
Constructor Summary
-
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
-
tabuRatio
protected final double tabuRatio
-
-
Constructor Details
-
ValueRatioTabuSizeStrategy
public ValueRatioTabuSizeStrategy(double tabuRatio)
-
-
Method Details
-
determineTabuSize
- Parameters:
stepScope
- never null- Returns:
>= 0
-