choco.integer.search
Class StaticVarOrder

java.lang.Object
  extended by choco.search.AbstractSearchHeuristic
      extended by choco.integer.search.AbstractIntVarSelector
          extended by choco.integer.search.StaticVarOrder
All Implemented Interfaces:
IIntVarSelector, IVarSelector

public class StaticVarOrder
extends AbstractIntVarSelector

A variable selector selecting the first non instantiated variable according to a given static order


Field Summary
 
Fields inherited from class choco.integer.search.AbstractIntVarSelector
vars
 
Fields inherited from class choco.search.AbstractSearchHeuristic
branching, problem
 
Constructor Summary
StaticVarOrder(IntDomainVar[] vars)
           
 
Method Summary
 IntDomainVar selectIntVar()
          the IIntVarSelector can be asked to return an IntDomainVarImpl
 
Methods inherited from class choco.integer.search.AbstractIntVarSelector
selectVar
 
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.search.IVarSelector
getBranching
 

Constructor Detail

StaticVarOrder

public StaticVarOrder(IntDomainVar[] vars)
Method Detail

selectIntVar

public IntDomainVar selectIntVar()
Description copied from interface: IIntVarSelector
the IIntVarSelector can be asked to return an IntDomainVarImpl

Returns:
a non instantiated search variable