Class RestartEvent
java.lang.Object
java.util.EventObject
org.moeaframework.algorithm.continuation.RestartEvent
- All Implemented Interfaces:
Serializable
An event emitted by
AdaptiveTimeContinuation
indicating a time continuation (restart) event has occurred.- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionRestartEvent
(Object source, RestartType type) Constructs a restart event originating from the specified source. -
Method Summary
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
RestartEvent
Constructs a restart event originating from the specified source.- Parameters:
source
- the source of this restart eventtype
- the type of this restart event
-
-
Method Details
-
getType
Returns the type of this restart event.- Returns:
- the type of this restart event
-