Class SearchMonitorList

    • Constructor Detail

      • SearchMonitorList

        public SearchMonitorList()
    • Method Detail

      • afterInitialize

        public void afterInitialize​(boolean correct)
        Description copied from interface: IMonitorInitialize
        Actions to execute after initialisation of the solver
        Specified by:
        afterInitialize in interface IMonitorInitialize
        Parameters:
        correct - equals false if initialization failed, true otherwise.
      • beforeDownBranch

        public void beforeDownBranch​(boolean left)
        Description copied from interface: IMonitorDownBranch
        Action to perform before going down in the tree search
        Specified by:
        beforeDownBranch in interface IMonitorDownBranch
        Parameters:
        left - set to true to specify that this is a left branch
      • afterDownBranch

        public void afterDownBranch​(boolean left)
        Description copied from interface: IMonitorDownBranch
        Action to perform after going down in the tree search
        Specified by:
        afterDownBranch in interface IMonitorDownBranch
        Parameters:
        left - set to true to specify that this is a left branch
      • beforeClose

        public void beforeClose()
        Description copied from interface: IMonitorClose
        Actions to execute before closing the search
        Specified by:
        beforeClose in interface IMonitorClose
      • afterClose

        public void afterClose()
        Description copied from interface: IMonitorClose
        Actions to execute after closing the search
        Specified by:
        afterClose in interface IMonitorClose
      • add

        public void add​(ISearchMonitor sm)
        Adds a search monitor to this list
        Parameters:
        sm - a search monitor
      • contains

        public boolean contains​(ISearchMonitor sm)
        Checks if this list contains a search monitor.
        Parameters:
        sm - a search monitor
        Returns:
        true if this list contains sm, false otherwise.
      • remove

        public void remove​(ISearchMonitor sm)
        Removes a search monitor for this list.
        Parameters:
        sm - a search monitor.
      • reset

        public void reset()
        Clears all internal lists of search monitors.