choco.integer.search
Class AbstractIntVarSelector

java.lang.Object
  extended by choco.search.AbstractSearchHeuristic
      extended by choco.integer.search.AbstractIntVarSelector
All Implemented Interfaces:
IIntVarSelector, IVarSelector
Direct Known Subclasses:
DomOverDeg, MinDomain, MostConstrained, RandomIntVarSelector, StaticVarOrder

public abstract class AbstractIntVarSelector
extends AbstractSearchHeuristic
implements IIntVarSelector


Field Summary
protected  IntDomainVar[] vars
          a specific array of IntVars from which the object seeks the one with smallest domain
 
Fields inherited from class choco.search.AbstractSearchHeuristic
branching, problem
 
Constructor Summary
AbstractIntVarSelector()
           
 
Method Summary
 AbstractVar selectVar()
          the IVarSelector can be asked to return a variable
 
Methods inherited from class choco.search.AbstractSearchHeuristic
getBranching
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface choco.integer.search.IIntVarSelector
selectIntVar
 
Methods inherited from interface choco.search.IVarSelector
getBranching
 

Field Detail

vars

protected IntDomainVar[] vars
a specific array of IntVars from which the object seeks the one with smallest domain

Constructor Detail

AbstractIntVarSelector

public AbstractIntVarSelector()
Method Detail

selectVar

public AbstractVar selectVar()
the IVarSelector can be asked to return a variable

Specified by:
selectVar in interface IVarSelector
Returns:
a variable on whose domain an alternative can be set (such as a non instantiated search variable)