choco.set.search
Class AbstractSetVarSelector

java.lang.Object
  extended by choco.search.AbstractSearchHeuristic
      extended by choco.set.search.AbstractSetVarSelector
All Implemented Interfaces:
IVarSelector, SetVarSelector
Direct Known Subclasses:
MinDomSet, StaticSetVarOrder

public abstract class AbstractSetVarSelector
extends AbstractSearchHeuristic
implements SetVarSelector


Field Summary
protected  SetVar[] vars
          a specific array of SetVars from which the object seeks the one with smallest domain
 
Fields inherited from class choco.search.AbstractSearchHeuristic
branching, problem
 
Constructor Summary
AbstractSetVarSelector()
           
 
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.set.search.SetVarSelector
selectSetVar
 
Methods inherited from interface choco.search.IVarSelector
getBranching
 

Field Detail

vars

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

Constructor Detail

AbstractSetVarSelector

public AbstractSetVarSelector()
Method Detail

selectVar

public AbstractVar selectVar()
Description copied from interface: IVarSelector
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)