choco.cp.solver.search.integer.varselector
Class DomOverDeg

java.lang.Object
  extended by choco.kernel.solver.search.AbstractSearchHeuristic
      extended by choco.kernel.solver.search.integer.AbstractIntVarSelector
          extended by choco.kernel.solver.search.integer.HeuristicIntVarSelector
              extended by choco.kernel.solver.search.integer.DoubleHeuristicIntVarSelector
                  extended by choco.cp.solver.search.integer.varselector.DomOverDeg
All Implemented Interfaces:
VarSelector<IntDomainVar>, TiedIntVarSelector<IntDomainVar>

Deprecated. @see BranchingFactory

@Deprecated
public class DomOverDeg
extends DoubleHeuristicIntVarSelector

A heuristic selecting the IntDomainVarImpl with smallest ration (domainSize / degree) (the degree of a variable is the number of constraints linked to it)


Field Summary
 
Fields inherited from class choco.kernel.solver.search.integer.AbstractIntVarSelector
vars
 
Fields inherited from class choco.kernel.solver.search.AbstractSearchHeuristic
branching, solver
 
Constructor Summary
DomOverDeg(Solver solver)
          Deprecated.  
DomOverDeg(Solver solver, IntDomainVar[] vs)
          Deprecated.  
 
Method Summary
 double getHeuristic(IntDomainVar v)
          Deprecated. the heuristic that is minimized in order to find the best IntVar
 
Methods inherited from class choco.kernel.solver.search.integer.DoubleHeuristicIntVarSelector
getAllMinVars, getAllMinVars, getHeuristic, getMinVar, getMinVar, getMinVar
 
Methods inherited from class choco.kernel.solver.search.integer.HeuristicIntVarSelector
selectTiedIntVars, selectVar
 
Methods inherited from class choco.kernel.solver.search.integer.AbstractIntVarSelector
getVars, setVars
 
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

DomOverDeg

public DomOverDeg(Solver solver)
Deprecated. 

DomOverDeg

public DomOverDeg(Solver solver,
                  IntDomainVar[] vs)
Deprecated. 
Method Detail

getHeuristic

public double getHeuristic(IntDomainVar v)
Deprecated. 
Description copied from class: DoubleHeuristicIntVarSelector
the heuristic that is minimized in order to find the best IntVar

Specified by:
getHeuristic in class DoubleHeuristicIntVarSelector


Copyright © 2012. All Rights Reserved.