choco.kernel.solver.search.limit
Class BackTrackLimit

java.lang.Object
  extended by choco.kernel.solver.search.limit.AbstractGlobalSearchLimit
      extended by choco.kernel.solver.search.limit.BackTrackLimit
All Implemented Interfaces:
IPretty

public final class BackTrackLimit
extends AbstractGlobalSearchLimit

Limit counting the backtrack number


Field Summary
 
Fields inherited from class choco.kernel.solver.search.limit.AbstractGlobalSearchLimit
nbMax, strategy, type, unit
 
Constructor Summary
BackTrackLimit(AbstractGlobalSearchStrategy theStrategy, int theLimit)
           
 
Method Summary
 int getNb()
          get the current counter
 
Methods inherited from class choco.kernel.solver.search.limit.AbstractGlobalSearchLimit
getNbMax, getSearchStrategy, getType, getUnit, pretty, setNbMax, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BackTrackLimit

public BackTrackLimit(AbstractGlobalSearchStrategy theStrategy,
                      int theLimit)
Method Detail

getNb

public final int getNb()
Description copied from class: AbstractGlobalSearchLimit
get the current counter

Specified by:
getNb in class AbstractGlobalSearchLimit


Copyright © 2012. All Rights Reserved.