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