prg_djk_update_proc_register()
Abstract
Sets an update procedure callback to track the progress of the shortest path algorithm
Syntax
prg_djk_update_proc_register (graph_ptr, update_proc, client_state_ptr)
| Argument | Type | Description |
|---|---|---|
graph_ptr |
PrgT_Graph * |
The graph that has the DJK package initialized on it. |
update_proc |
PrgT_Progress_Update_Proc |
The update procedure that is being registered. |
client_state_ptr |
void * |
The arbitrary client state that is going to be passed in to the update procedure every time it is called. |
Return Type
void
No return value.
Header
prg_djk.h
Details
This function registers an update procedure callback with the DJK package for a particular graph. The update callback is used to notify the client of the DJK package about the progress of the all-pairs shortest-paths algorithm.
The callback prototype is given in PrgT_Progress_Update_Proc.