choco.real.search
Class CyclicRealVarSelector

java.lang.Object
  extended by choco.search.AbstractSearchHeuristic
      extended by choco.real.search.AbstractRealVarSelector
          extended by choco.real.search.CyclicRealVarSelector
All Implemented Interfaces:
RealVarSelector, IVarSelector

public class CyclicRealVarSelector
extends AbstractRealVarSelector
implements RealVarSelector

A cyclic variable selector : since a dichotomy algorithm is used, cyclic assiging is nedded for instantiate a real interval variable.


Field Summary
protected  int current
           
 
Fields inherited from class choco.search.AbstractSearchHeuristic
branching, problem
 
Constructor Summary
CyclicRealVarSelector(AbstractProblem pb)
           
 
Method Summary
 RealVar selectRealVar()
           
 
Methods inherited from class choco.real.search.AbstractRealVarSelector
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, selectVar
 

Field Detail

current

protected int current
Constructor Detail

CyclicRealVarSelector

public CyclicRealVarSelector(AbstractProblem pb)
Method Detail

selectRealVar

public RealVar selectRealVar()
Specified by:
selectRealVar in interface RealVarSelector