Algorithms |
Predecessor Lists |
The predecessor list is an array of indices, one for each vertex of a graph. Each vertex' entry contains the index of its predecessor in a path through the graph.
![]() |
In this example, the red arrows show the predecessor
relations, so the predecessor list would be:
|