choco.integer.search
Class MaxVal

java.lang.Object
  extended by choco.search.AbstractSearchHeuristic
      extended by choco.integer.search.MaxVal
All Implemented Interfaces:
IValSelector

public class MaxVal
extends AbstractSearchHeuristic
implements IValSelector


Field Summary
 
Fields inherited from class choco.search.AbstractSearchHeuristic
branching, problem
 
Constructor Summary
MaxVal()
           
 
Method Summary
 int getBestVal(IntDomainVar x)
          selecting the highest value in the domain
 
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
 

Constructor Detail

MaxVal

public MaxVal()
Method Detail

getBestVal

public int getBestVal(IntDomainVar x)
selecting the highest value in the domain

Specified by:
getBestVal in interface IValSelector
Parameters:
x - the variable under consideration
Returns:
what seems the most interesting value for branching