Class BacktrackCounter

  • All Implemented Interfaces:
    ICounter, Criterion, LongCriterion

    public final class BacktrackCounter
    extends ACounter
    Set a limit over the number of backtracks 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

      • BacktrackCounter

        public BacktrackCounter​(Model model,
                                long backtracklimit)
      • BacktrackCounter

        public BacktrackCounter​(IMeasures measures,
                                long backtracklimit)
    • Method Detail

      • currentValue

        public long currentValue()