choco.search
Interface IVarSelector

All Known Subinterfaces:
IIntVarSelector, RealVarSelector, SetVarSelector
All Known Implementing Classes:
AbstractIntVarSelector, AbstractRealVarSelector, AbstractSetVarSelector, CyclicRealVarSelector, DomOverDeg, MinDomain, MinDomSet, MostConstrained, RandomIntVarSelector, StaticSetVarOrder, StaticVarOrder

public interface IVarSelector

an interface for objects controlling the selection of a variable (for heuristic purposes)


Method Summary
 IntBranching getBranching()
          each IVarSelector is associated to a branching strategy
 AbstractVar selectVar()
          the IVarSelector can be asked to return a variable
 

Method Detail

getBranching

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

Returns:
the associated branching strategy

selectVar

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

Returns:
a variable on whose domain an alternative can be set (such as a non instantiated search variable)