Class NodeCounter

  • All Implemented Interfaces:
    ICounter, Criterion, LongCriterion

    public final class NodeCounter
    extends ACounter
    Set a limit over the number of nodes opened allowed during the search. When this limit is reached, the search loop is informed and the resolution is stopped.
    15 juil. 2010
    Charles Prud'homme
    • Constructor Detail

      • NodeCounter

        public NodeCounter​(Model model,
                           long nodelimit)
      • NodeCounter

        public NodeCounter​(IMeasures measures,
                           long nodelimit)
    • Method Detail

      • currentValue

        public long currentValue()