Class SolutionCounter

  • All Implemented Interfaces:
    ICounter, Criterion, LongCriterion

    public class SolutionCounter
    extends ACounter
    Set a limit over the number of found solutions 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

      • SolutionCounter

        public SolutionCounter​(Model model,
                               long solutionlimit)
      • SolutionCounter

        public SolutionCounter​(IMeasures measures,
                               long solutionlimit)
    • Method Detail

      • currentValue

        public long currentValue()