Interface IOptimizationEventListener
- All Known Subinterfaces:
IOptimization
- All Known Implementing Classes:
Optimization
,OptimizationEventListener
public interface IOptimizationEventListener
The listener interface for receiving IOptimizationEvent events.
The class that is interested in processing a IOptimizationEvent
event implements this interface, and the object created
with that class is registered with a component using the
component's
addIOptimizationEventListener
method. When
the IOptimizationEvent event occurs, that object's appropriate
method is invoked.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onAfterNodeFilteringOptimizationResult
(IOptimizationResult requestedresult) void
onAsynchronousOptimizationResult
(IOptimizationResult rapoptResult) On asynchronous optimization result.void
onBeforeNodeFilteringOptimizationResult
(IOptimizationResult requestedresult) void
On error.void
onError
(IErrorEvent errorEvent) On error.void
onNodeFiltering
(int code, String message, List<INodeFilterReason> filterReasons) On node filtering.void
onNodeFiltering
(NodeFilteringEvent nodeFilteringEvent) On node filtering.void
onProgress
(IOptimizationProgress rapoptProgress) On progress.void
onProgress
(String winnerProgressString) On progress.void
onRequestCodeExecutionDone
(String executionId) On asynch execution done.void
On status.void
onStatus
(IStatusEvent statusEvent) On status.void
On warning.void
onWarning
(IWarningEvent iWarningEvent) On warning.void
requestedAsynchronousOptimizationResult
(IOptimizationResult requestedresult) Requested asynchronous optimization result.
-
Method Details
-
onError
On error.- Parameters:
code
- the codemessage
- the message
-
onError
On error.- Parameters:
errorEvent
- the error event
-
onStatus
On status.- Parameters:
code
- the codemessage
- the message
-
onStatus
On status.- Parameters:
statusEvent
- the status event
-
onWarning
On warning.- Parameters:
code
- the codemessage
- the message
-
onWarning
On warning.- Parameters:
iWarningEvent
- the i warning event
-
onProgress
On progress. UseonProgress(IOptimizationProgress)
instead- Parameters:
winnerProgressString
- the winner progress string
-
onProgress
On progress.- Parameters:
rapoptProgress
- the cur best entity
-
onAsynchronousOptimizationResult
On asynchronous optimization result.- Parameters:
rapoptResult
- the winner
-
onNodeFiltering
On node filtering.- Parameters:
code
- the codemessage
- the messagefilterReasons
- the filter reasons
-
onNodeFiltering
On node filtering.- Parameters:
nodeFilteringEvent
- the node filtering event
-
onRequestCodeExecutionDone
On asynch execution done.- Parameters:
executionId
- the execution id
-
requestedAsynchronousOptimizationResult
Requested asynchronous optimization result.- Parameters:
requestedresult
- the requestedresult
-
onBeforeNodeFilteringOptimizationResult
-
onAfterNodeFilteringOptimizationResult
-