samples.multicostregular.asap.heuristics
Class ASAPVarSelector

java.lang.Object
  extended by choco.kernel.solver.search.AbstractSearchHeuristic
      extended by samples.multicostregular.asap.heuristics.ASAPVarSelector
All Implemented Interfaces:
VarSelector<IntDomainVar>

public class ASAPVarSelector
extends AbstractSearchHeuristic
implements VarSelector<IntDomainVar>

Created by IntelliJ IDEA. User: julien Mail: julien.menana{at}emn.fr Date: Mar 12, 2009 Time: 2:46:42 PM


Field Summary
 
Fields inherited from class choco.kernel.solver.search.AbstractSearchHeuristic
branching, solver
 
Constructor Summary
ASAPVarSelector(IntDomainVar[][] vars, Solver solver)
           
ASAPVarSelector(Solver s, IntegerVariable[][] vars)
           
 
Method Summary
 int getNbInstanciated(int i)
           
 IntDomainVar selectVar()
          the VarSelector can be asked to return a variable
 
Methods inherited from class choco.kernel.solver.search.AbstractSearchHeuristic
getBranching, getSolver, setBranching
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASAPVarSelector

public ASAPVarSelector(IntDomainVar[][] vars,
                       Solver solver)

ASAPVarSelector

public ASAPVarSelector(Solver s,
                       IntegerVariable[][] vars)
Method Detail

getNbInstanciated

public int getNbInstanciated(int i)

selectVar

public IntDomainVar selectVar()
Description copied from interface: VarSelector
the VarSelector can be asked to return a variable

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


Copyright © 2012. All Rights Reserved.