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.

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.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com