choco.cp.solver.search.integer.varselector.ratioselector
Class MaxRatioSelector

java.lang.Object
  extended by choco.kernel.solver.search.AbstractSearchHeuristic
      extended by choco.cp.solver.search.integer.varselector.ratioselector.AbstractIntVarRatioSelector
          extended by choco.cp.solver.search.integer.varselector.ratioselector.MaxRatioSelector
All Implemented Interfaces:
IntVarRatioSelector, VarSelector<IntDomainVar>, TiedIntVarSelector

public class MaxRatioSelector
extends AbstractIntVarRatioSelector


Field Summary
 
Fields inherited from class choco.cp.solver.search.integer.varselector.ratioselector.AbstractIntVarRatioSelector
ratios
 
Fields inherited from class choco.kernel.solver.search.AbstractSearchHeuristic
branching, solver
 
Fields inherited from interface choco.cp.solver.search.integer.varselector.ratioselector.IntVarRatioSelector
NULL
 
Constructor Summary
MaxRatioSelector(Solver solver, IntRatio[] ratios)
           
 
Method Summary
protected  boolean isUp(long leftM, long rightM)
           
 
Methods inherited from class choco.cp.solver.search.integer.varselector.ratioselector.AbstractIntVarRatioSelector
getRatios, selectIntRatio, selectIntRatioIndex, selectRandIntRatioIndex, selectTiedIntVars, selectVar
 
Methods inherited from class choco.kernel.solver.search.AbstractSearchHeuristic
getBranching, getSolver, setBranching
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaxRatioSelector

public MaxRatioSelector(Solver solver,
                        IntRatio[] ratios)
Method Detail

isUp

protected final boolean isUp(long leftM,
                             long rightM)
Specified by:
isUp in class AbstractIntVarRatioSelector


Copyright © 2012. All Rights Reserved.