MOEA Framework 2.12
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()
           
 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()
Overrides:
getSource in class EventObject

getType

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

Returns:
the type of this restart event

MOEA Framework 2.12
API Specification

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!