Class Control

    • Constructor Detail

      • Control

        public Control()
    • Method Detail

      • doStart

        public void doStart()
        Starts the optimization.
      • doPause

        public void doPause()
        Pauses the optimization.
      • doStop

        public void doStop()
        Stops the optimization.
      • doTerminate

        public void doTerminate()
        Terminates the optimization.
      • isRunning

        public boolean isRunning()
        Returns true if the optimization is running.
        Returns:
        true if the optimization is running
      • isPaused

        public boolean isPaused()
        Returns true if the optimization is paused.
        Returns:
        true if the optimization is paused
      • isStopped

        public boolean isStopped()
        Returns true if the optimization is stopped.
        Returns:
        true if the optimization is stopped
      • isTerminated

        public boolean isTerminated()
        Returns true if the optimization is terminated.
        Returns:
        true if the optimization is terminated
      • getState

        public Control.State getState()
        Returns the state.
        Returns:
        the state
      • setState

        protected void setState​(Control.State state)
        Sets the state and invokes listeners if the state has changed.
        Parameters:
        state - the desired state