Class ObjectiveMonitor

    • Constructor Detail

      • ObjectiveMonitor

        protected ObjectiveMonitor​(long cPtr,
                                   boolean cMemoryOwn)
    • Method Detail

      • ObjectiveVar

        public IntVar ObjectiveVar​(int index)
      • MinimizationVar

        public IntVar MinimizationVar​(int index)
      • Step

        public long Step​(int index)
      • Maximize

        public boolean Maximize​(int index)
      • BestValue

        public long BestValue​(int index)
      • Size

        public int Size()
      • atSolution

        public boolean atSolution()
        Description copied from class: SearchMonitor
        This method is called when a valid solution is found. If the
        return value is true, then search will resume after. If the result
        is false, then search will stop there.
        Overrides:
        atSolution in class SearchMonitor