OptaPlanner core 6.0.0.CR4

org.optaplanner.core.impl.localsearch.decider.acceptor.tabu.size
Class ValueRatioTabuSizeStrategy

java.lang.Object
  extended by org.optaplanner.core.impl.localsearch.decider.acceptor.tabu.size.AbstractTabuSizeStrategy
      extended by org.optaplanner.core.impl.localsearch.decider.acceptor.tabu.size.ValueRatioTabuSizeStrategy
All Implemented Interfaces:
TabuSizeStrategy

public class ValueRatioTabuSizeStrategy
extends AbstractTabuSizeStrategy


Field Summary
protected  double tabuRatio
           
 
Constructor Summary
ValueRatioTabuSizeStrategy(double tabuRatio)
           
 
Method Summary
 int determineTabuSize(LocalSearchStepScope stepScope)
           
 
Methods inherited from class org.optaplanner.core.impl.localsearch.decider.acceptor.tabu.size.AbstractTabuSizeStrategy
protectTabuSizeCornerCases
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tabuRatio

protected final double tabuRatio
Constructor Detail

ValueRatioTabuSizeStrategy

public ValueRatioTabuSizeStrategy(double tabuRatio)
Method Detail

determineTabuSize

public int determineTabuSize(LocalSearchStepScope stepScope)
Parameters:
stepScope - never null
Returns:
>= 0

OptaPlanner core 6.0.0.CR4

Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.