choco.cp.solver.search.integer.varselector.ratioselector
Class RandMinRatioSelector
java.lang.Object
choco.kernel.solver.search.AbstractSearchHeuristic
choco.cp.solver.search.integer.varselector.ratioselector.AbstractIntVarRatioSelector
choco.cp.solver.search.integer.varselector.ratioselector.RandMinRatioSelector
- All Implemented Interfaces:
- IntVarRatioSelector, VarSelector<IntDomainVar>, TiedIntVarSelector
- Direct Known Subclasses:
- RandDomOverWDegSelector
public class RandMinRatioSelector
- extends AbstractIntVarRatioSelector
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
reuseList
protected final gnu.trove.TIntArrayList reuseList
randomBreakTies
protected final Random randomBreakTies
RandMinRatioSelector
public RandMinRatioSelector(Solver solver,
IntRatio[] ratios,
long seed)
isUp
protected final boolean isUp(long leftM,
long rightM)
- Specified by:
isUp
in class AbstractIntVarRatioSelector
selectIntRatioIndex
public int selectIntRatioIndex()
- Specified by:
selectIntRatioIndex
in interface IntVarRatioSelector
- Overrides:
selectIntRatioIndex
in class AbstractIntVarRatioSelector
Copyright © 2012. All Rights Reserved.