choco.cp.solver.search.integer.valselector
Class MidVal
java.lang.Object
choco.cp.solver.search.integer.valselector.MidVal
- All Implemented Interfaces:
- ValSelector<IntDomainVar>
public class MidVal
- extends Object
- implements ValSelector<IntDomainVar>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MidVal
public MidVal()
getBestVal
public int getBestVal(IntDomainVar x)
- selecting a value in the middle of the domain
- Specified by:
getBestVal
in interface ValSelector<IntDomainVar>
- Parameters:
x
- the variable under consideration
- Returns:
- what seems the most interesting value for branching
Copyright © 2012. All Rights Reserved.