Class 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
    • Constructor Detail

      • FailCounter

        public FailCounter​(Model model,
                           long faillimit)
      • FailCounter

        public FailCounter​(IMeasures measures,
                           long faillimit)
    • Method Detail

      • currentValue

        public long currentValue()