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()
- Description copied from class:
java.util.EventObject
- The object on which the Event initially occurred.
- Overrides:
getSource in class EventObject
- Returns:
- The object on which the Event initially occurred.
getType
public RestartType getType()
- Returns the type of this restart event.
- Returns:
- the type of this restart event
Copyright 2009-2015 MOEA Framework. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage. Hosted by