OptimT_Siman_Mutation_Accept_Notify_Proc
Abstract
Callback: Lets the client know when a new “mutated” solution has replaced the current solution in the engine.
Syntax
<accept_proc_name> (optim_handle)
| Argument | Type | Description |
|---|---|---|
optim_handle |
OptimT_Siman_Handle |
The optimization engine instance whose newly mutated solution has just been accepted as a current solution. |
Return Type
EtsT_Compcode
EtsC_Compcode_Success if the procedure completed successfully; EtsC_Compcode_Failure otherwise.
Header
optim_siman.h
Details
A callback of this type is called to let the client know when a new “mutated” solution (obtained by using a callback of type OptimT_Siman_Mutate_Proc) has replaced the current solution in the engine. This allows the client to perform any operations necessary due to the change in state, such as possibly updating the GUI or keeping track of how many new solutions have been accepted.