choco.cp.solver.search.integer.valselector
Class BestFit

java.lang.Object
  extended by 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

Field Summary
 PackSConstraint pack
           
 
Constructor Summary
BestFit(PackSConstraint cstr)
           
 
Method Summary
 int getBestVal(IntDomainVar x)
          A method selecting the search value used for the alternative
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pack

public final PackSConstraint pack
Constructor Detail

BestFit

public BestFit(PackSConstraint cstr)
Method Detail

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.