choco.cp.solver.search.integer.valselector
Class BestFit
java.lang.Object
choco.cp.solver.search.integer.valselector.BestFit
- All Implemented Interfaces:
- ValSelector<IntDomainVar>
public class BestFit
- extends Object
- implements ValSelector<IntDomainVar>
- Since:
- 7 dec. 2008 version 2.0.1
- Version:
- 2.0.1
- Author:
- Arnaud Malapert
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pack
public final PackSConstraint pack
BestFit
public BestFit(PackSConstraint cstr)
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.