prg_graph_vertex_all_get()
Abstract
Gets all the vertices in the graph
Syntax
prg_graph_vertex_all_get (graph_ptr)
| Argument | Type | Description |
|---|---|---|
graph_ptr |
PrgT_Graph * |
The graph being queried |
Return Type
PrgT_Vector *
Returns the vector of PrgT_Graph_Vertex, where each element is a vertex in the graph
Header
prg_graph.h
Details
This function returns the vector of all vertices in the graph. Each element in the vector is of type PrgT_Graph_Vertex *.
It is the caller's responsibility to deallocate the returned vector.