choco.cp.solver.search.integer.varselector
Class DomOverDeg
java.lang.Object
choco.kernel.solver.search.AbstractSearchHeuristic
choco.kernel.solver.search.integer.AbstractIntVarSelector
choco.kernel.solver.search.integer.HeuristicIntVarSelector
choco.kernel.solver.search.integer.DoubleHeuristicIntVarSelector
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)
Method Summary |
double |
getHeuristic(IntDomainVar v)
Deprecated. the heuristic that is minimized in order to find the best IntVar |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DomOverDeg
public DomOverDeg(Solver solver)
- Deprecated.
DomOverDeg
public DomOverDeg(Solver solver,
IntDomainVar[] vs)
- Deprecated.
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.