Class RestartEvent

java.lang.Object
java.util.EventObject
org.moeaframework.algorithm.continuation.RestartEvent
All Implemented Interfaces:
Serializable

public class RestartEvent extends EventObject
An event emitted by AdaptiveTimeContinuation indicating a time continuation (restart) event has occurred.
See Also:
  • Constructor Details

    • RestartEvent

      public RestartEvent(Object source, RestartType type)
      Constructs a restart event originating from the specified source.
      Parameters:
      source - the source of this restart event
      type - the type of this restart event
  • Method Details

    • getType

      public RestartType getType()
      Returns the type of this restart event.
      Returns:
      the type of this restart event