samples.multicostregular.asap.heuristics
Class CoverVarSelector
java.lang.Object
choco.kernel.solver.search.AbstractSearchHeuristic
samples.multicostregular.asap.heuristics.CoverVarSelector
- All Implemented Interfaces:
- VarSelector<IntDomainVar>, ValSelector<IntDomainVar>
public class CoverVarSelector
- extends AbstractSearchHeuristic
- implements VarSelector<IntDomainVar>, ValSelector<IntDomainVar>
Created by IntelliJ IDEA.
User: julien
Date: 5 janv. 2010
Time: 13:39:56
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoverVarSelector
public CoverVarSelector(IntDomainVar[][] vars,
int[][] lowb,
Solver solver)
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)
getBestVal
public int getBestVal(IntDomainVar x)
- Description copied from interface:
ValSelector
- A method selecting the search value used for the alternative
- Specified by:
getBestVal
in interface ValSelector<IntDomainVar>
Copyright © 2012. All Rights Reserved.