prg_djk_edge_weight_get()
Abstract
Returns the weight (cost) of an edge
Syntax
prg_djk_edge_weight_get (edge_ptr)
| Argument | Type | Description |
|---|---|---|
edge_ptr |
PrgT_Graph_Edge * |
The edge of interest. |
Return Type
double
The weight (cost) to traverse this edge.
Header
prg_djk.h
Details
The function returns the weight (cost) of the edge.