public interface IOptimizationEventListener
addIOptimizationEventListener
method. When
the IOptimizationEvent event occurs, that object's appropriate
method is invoked.OptimizationEvents
Modifier and Type | Method and Description |
---|---|
void |
onAsynchronousOptimizationResult(IOptimizationResult rapoptResult)
On asynchronous optimization result.
|
void |
onError(IErrorEvent errorEvent)
On error.
|
void |
onError(int code,
String message)
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 |
onStatus(int code,
String message)
On status.
|
void |
onStatus(IStatusEvent statusEvent)
On status.
|
void |
onWarning(int code,
String message)
On warning.
|
void |
onWarning(IWarningEvent iWarningEvent)
On warning.
|
void |
requestedAsynchronousOptimizationResult(IOptimizationResult requestedresult)
Requested asynchronous optimization result.
|
void onError(int code, String message)
code
- the codemessage
- the messagevoid onError(IErrorEvent errorEvent)
errorEvent
- the error eventvoid onStatus(int code, String message)
code
- the codemessage
- the messagevoid onStatus(IStatusEvent statusEvent)
statusEvent
- the status eventvoid onWarning(int code, String message)
code
- the codemessage
- the messagevoid onWarning(IWarningEvent iWarningEvent)
iWarningEvent
- the i warning eventvoid onProgress(String winnerProgressString)
onProgress(IOptimizationProgress)
insteadwinnerProgressString
- the winner progress stringvoid onProgress(IOptimizationProgress rapoptProgress)
rapoptProgress
- the cur best entityvoid onAsynchronousOptimizationResult(IOptimizationResult rapoptResult)
rapoptResult
- the winnervoid onNodeFiltering(int code, String message, List<INodeFilterReason> filterReasons)
code
- the codemessage
- the messagefilterReasons
- the filter reasonsvoid onNodeFiltering(NodeFilteringEvent nodeFilteringEvent)
nodeFilteringEvent
- the node filtering eventvoid onRequestCodeExecutionDone(String executionId)
executionId
- the execution idvoid requestedAsynchronousOptimizationResult(IOptimizationResult requestedresult)
requestedresult
- the requestedresultCopyright © 2017–2023 DNA Evolutions GmbH. All rights reserved.