choco.kernel.solver.search
Class AbstractSearchHeuristic

java.lang.Object
  extended by choco.kernel.solver.search.AbstractSearchHeuristic
Direct Known Subclasses:
AbstractIntVarRatioSelector, AbstractIntVarSelector, AbstractRealVarSelector, AbstractSetVarSelector, ASAPVarSelector, CoverVarSelector, CoverVarValSelector

public abstract class AbstractSearchHeuristic
extends Object

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


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

Field Detail

branching

protected AbstractIntBranchingStrategy branching
the branching object owning the variable heuristic


solver

protected final Solver solver
the model to which the heuristic is related

Constructor Detail

AbstractSearchHeuristic

public AbstractSearchHeuristic(Solver solver)
Method Detail

getSolver

public final Solver getSolver()

setBranching

public final void setBranching(AbstractIntBranchingStrategy branching)

getBranching

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

Returns:
the associated branching strategy


Copyright © 2012. All Rights Reserved.