choco.search
Class AbstractSearchHeuristic

java.lang.Object
  extended by choco.search.AbstractSearchHeuristic
Direct Known Subclasses:
AbstractIntVarSelector, AbstractRealVarSelector, AbstractSetVarSelector, MaxVal, MidVal, MinEnv, MinVal

public class AbstractSearchHeuristic
extends java.lang.Object

An abstract class for all heuristics (variable, value, branching heuristics) related to search


Field Summary
protected  AbstractIntBranching branching
          the branching object owning the variable heuristic
protected  AbstractProblem problem
          the problem to which the heuristic is related
 
Constructor Summary
AbstractSearchHeuristic()
           
 
Method Summary
 IntBranching getBranching()
          each IVarSelector is associated to a branching strategy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

branching

protected AbstractIntBranching branching
the branching object owning the variable heuristic


problem

protected AbstractProblem problem
the problem to which the heuristic is related

Constructor Detail

AbstractSearchHeuristic

public AbstractSearchHeuristic()
Method Detail

getBranching

public IntBranching getBranching()
each IVarSelector is associated to a branching strategy

Returns:
the associated branching strategy