choco.kernel.solver.search.limit
Class TimeLimit

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

public final class TimeLimit
extends AbstractGlobalSearchLimit

check the total amount of time


Field Summary
 
Fields inherited from class choco.kernel.solver.search.limit.AbstractGlobalSearchLimit
nbMax, strategy, type, unit
 
Constructor Summary
TimeLimit(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

TimeLimit

public TimeLimit(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.