MOEA Framework 2.5
API Specification

org.moeaframework.algorithm
Class RestartEvent

java.lang.Object
  extended by java.util.EventObject
      extended by 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

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
RestartEvent(AdaptiveTimeContinuation source, RestartType type)
          Constructs a restart event originating from the specified source.
 
Method Summary
 AdaptiveTimeContinuation getSource()
          The object on which the Event initially occurred.
 RestartType getType()
          Returns the type of this restart event.
 
Methods inherited from class java.util.EventObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RestartEvent

public RestartEvent(AdaptiveTimeContinuation 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 Detail

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

MOEA Framework 2.5
API Specification

Copyright 2009-2015 MOEA Framework. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage. Hosted by Get MOEA Framework at SourceForge.net. Fast, secure and Free Open Source software downloads