Optim_Siman_Best_Solution_Revert_Notify_Proc_Set()

Abstract

Registers a procedure to be called when the working solution reverts to the best solution.

Syntax

Optim_Siman_Best_Solution_Revert_Notify_Proc_Set (optim_handle, revert_proc)
Argument Type Description
optim_handle OptimT_Siman_Handle The optimization engine instance that is reverting to the best solution.
revert_proc OptimT_Siman_Best_Solution_Revert_Notify_Proc Procedure to call.

Return Type

void

No return value.

optim_siman.h

Details

By default, only the accept procedure (a callback of type OptimT_Siman_Mutation_Accept_Notify_Proc) is called when the optimization engine decides to use the best-so-far solution. However, if the client uses this function to register a “revert” procedure, revert_proc will be called also, in case the client wants to perform additional operations (such as handling the change in the solution states from the current solution state to the best-so-far solution).

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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