choco.cp.solver.constraints.global.pack
Class PackSConstraint.BoundNumberOfBins

java.lang.Object
  extended by choco.cp.solver.constraints.global.pack.PackSConstraint.BoundNumberOfBins
Enclosing class:
PackSConstraint

protected final class PackSConstraint.BoundNumberOfBins
extends Object


Field Summary
protected  int capacityMLB
           
protected  int nbEmpty
           
protected  int nbFull
           
protected  int nbNewCLB
           
protected  int nbSome
           
 
Constructor Summary
PackSConstraint.BoundNumberOfBins()
           
 
Method Summary
 boolean computeBounds(boolean useMDFF)
           
 int getMaximumNumberOfBins()
           
 int getMinimumNumberOfBins()
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

capacityMLB

protected int capacityMLB

nbEmpty

protected int nbEmpty

nbSome

protected int nbSome

nbFull

protected int nbFull

nbNewCLB

protected int nbNewCLB
Constructor Detail

PackSConstraint.BoundNumberOfBins

public PackSConstraint.BoundNumberOfBins()
Method Detail

reset

public void reset()

computeBounds

public boolean computeBounds(boolean useMDFF)
Parameters:
useMDFF - do we use advanced and costly bounding procedure for a feaasibility test.
Returns:
false if the current state is infeasible.

getMaximumNumberOfBins

public int getMaximumNumberOfBins()

getMinimumNumberOfBins

public int getMinimumNumberOfBins()


Copyright © 2012. All Rights Reserved.