org.moeaframework.algorithm
Class RestartEvent
java.lang.Object
java.util.EventObject
org.moeaframework.algorithm.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:
- Serialized Form
RestartEvent
public RestartEvent(AdaptiveTimeContinuation source,
RestartType type)
- Constructs a restart event originating from the specified source.
- Parameters:
source
- the source of this restart eventtype
- the type of this restart event
getSource
public AdaptiveTimeContinuation getSource()
- Overrides:
getSource
in class EventObject
getType
public RestartType getType()
- Returns the type of this restart event.
- Returns:
- the type of this restart event
Copyright 2009-2016 MOEA Framework. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage. Visit us on Github!