org.optaplanner.core.impl.localsearch.decider.acceptor.tabu.size
Class ValueRatioTabuSizeStrategy
java.lang.Object
org.optaplanner.core.impl.localsearch.decider.acceptor.tabu.size.AbstractTabuSizeStrategy
org.optaplanner.core.impl.localsearch.decider.acceptor.tabu.size.ValueRatioTabuSizeStrategy
- All Implemented Interfaces:
- TabuSizeStrategy
public class ValueRatioTabuSizeStrategy
- extends AbstractTabuSizeStrategy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tabuRatio
protected final double tabuRatio
ValueRatioTabuSizeStrategy
public ValueRatioTabuSizeStrategy(double tabuRatio)
determineTabuSize
public int determineTabuSize(LocalSearchStepScope stepScope)
- Parameters:
stepScope
- never null
- Returns:
- >= 0
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.