prg_graph_edge_exists()

Abstract

Finds and returns an edge between two vertices if it exists.

Syntax

prg_graph_edge_exists (graph_ptr, vertex_a_ptr, vertex_b_ptr, edge_type)
Argument Type Description
graph_ptr PrgT_Graph * Graph that contains the edge in question
vertex_a_ptr PrgT_Graph_Vertex * Source vertex for the edge
vertex_b_ptr PrgT_Graph_Vertex * Destination vertex for the edge
edge_type PrgT_Graph_Edge_Type Type of edge to seek (one of the values in Table 4 Graph Package Symbolic Constants)

Return Type

PrgT_Graph_Edge *

If found, returns the edge, otherwise returns PRGC_NIL

prg_graph.h

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