Class AdaptiveTimeContinuationCollector
java.lang.Object
org.moeaframework.analysis.collector.AdaptiveTimeContinuationCollector
- All Implemented Interfaces:
EventListener
,RestartListener
,Collector
@Deprecated
public class AdaptiveTimeContinuationCollector
extends Object
implements Collector, RestartListener
Deprecated.
Collects the number of restart events resulting from
AdaptiveTimeContinuation
.-
Constructor Summary
ConstructorDescriptionDeprecated.Constructs an unattached collector for recording the number of restart events resulting fromAdaptiveTimeContinuation
.Deprecated.Constructs a collector for recording the number of restart events resulting from the specifiedAdaptiveTimeContinuation
instance. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns a new instance of this collector which has been attached to the specified object as identified by the attach point returned throughCollector.getAttachPoint()
.void
collect
(Observation observation) Deprecated.Collects the requested information from the object, storing the data to the specified observation.Deprecated.Returns the attach point describing where this collector is attached.static int
getNumberOfRestarts
(Observation observation) Deprecated.Reads the number of restarts value from the observation.void
restarted
(RestartEvent event) Deprecated.Invoked when a restart event has occurred.
-
Constructor Details
-
AdaptiveTimeContinuationCollector
public AdaptiveTimeContinuationCollector()Deprecated.Constructs an unattached collector for recording the number of restart events resulting fromAdaptiveTimeContinuation
. -
AdaptiveTimeContinuationCollector
Deprecated.Constructs a collector for recording the number of restart events resulting from the specifiedAdaptiveTimeContinuation
instance.- Parameters:
algorithm
- the algorithm this collector records data from
-
-
Method Details
-
collect
Deprecated.Description copied from interface:Collector
Collects the requested information from the object, storing the data to the specified observation. This method must only be invoked after this collector has been attached to an appropriate object. -
restarted
Deprecated.Description copied from interface:RestartListener
Invoked when a restart event has occurred.- Specified by:
restarted
in interfaceRestartListener
- Parameters:
event
- the object storing details about the restart event
-
getAttachPoint
Deprecated.Description copied from interface:Collector
Returns the attach point describing where this collector is attached. The matched object should be unique.- Specified by:
getAttachPoint
in interfaceCollector
- Returns:
- the attach point describing where this collector is attached
-
attach
Deprecated.Description copied from interface:Collector
Returns a new instance of this collector which has been attached to the specified object as identified by the attach point returned throughCollector.getAttachPoint()
. -
getNumberOfRestarts
Deprecated.Reads the number of restarts value from the observation.- Parameters:
observation
- the observation- Returns:
- the number of restarts
-
AdaptiveTimeContinuationExtensionCollector
instead