prg_djk_consider_path_get()
Abstract
Gets the path from the source to the current node.
Syntax
prg_djk_consider_path_get (path_info_ptr)
| Argument | Type | Description |
|---|---|---|
path_info_ptr |
PrgT_Djk_Path_Info * |
An opaque handle to a data structure that encodes the path information. |
Return Type
PrgT_Vector *
A vector of PrgT_Graph_Edge* edges in the working path. The vector is owned by the caller and must be destroyed using prg_vector_destroy (route_vptr, 0).
Header
prg_djk.h
Details
This function is intended to be used in a path consider procedure or a path accept procedure (client callback code) to get the current working path from the PrgT_Djk_Path_Info object. The callback procedure is passed a path_info_ptr. This function is used to extract the working path from the source to the current node.