- java.lang.Object
-
- org.chocosolver.solver.search.limits.ACounter
-
- org.chocosolver.solver.search.limits.FailCounter
-
- All Implemented Interfaces:
ICounter
,Criterion
,LongCriterion
public final class FailCounter extends ACounter
Set a limit over the number of fails allowed during the search. When this limit is reached, the search loop is informed and the resolution is stopped.- Since:
- 15 juil. 2010
- Author:
- Charles Prud'homme
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.chocosolver.solver.search.limits.ICounter
ICounter.Impl
-
-
Constructor Summary
Constructors Constructor Description FailCounter(Model model, long faillimit)
FailCounter(IMeasures measures, long faillimit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
currentValue()
-
Methods inherited from class org.chocosolver.solver.search.limits.ACounter
getLimitValue, init, isMet, isMet, overrideLimit, update
-
-