PrgT_Djk_K_Path_Accept_Proc

Abstract

Callback: Used to accept or reject a proposed complete path during a k-paths computation.

Syntax

PrgT_Djk_K_Path_Accept_Proc (vertex_from_ptr, vertex_to_ptr, path_info_ptr, client_state_ptr)
Argument Type Description
vertex_from_ptr PrgT_Graph_Vertex * The source vertex of the path.
vertex_to_ptr PrgT_Graph_Vertex * The destination vertex of the path.
path_info_ptr PrgT_Djk_Path_Info * The path to consider for acceptance.
client_state_ptr void * Client state passed to the callback.

Return Type

PrgT_Djk_Path_Accept_Result

PrgC_Djk_Path_Accept if the path is acceptable, PrgC_Djk_Path_Reject otherwise.

prg_djk.h

Details

The proposed path is a complete path from the source to the destination. This callback can use prg_djk_consider_path_get() to get the full path vector.

The callback is registered by prg_djk_k_path_accept_proc_register().

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