The incremental maintenance of a Depth-F
โ
Paolo G. Franciosa; Giorgio Gambosi; Umberto Nanni
๐
Article
๐
1997
๐
Elsevier Science
๐
English
โ 748 KB
We propose an incremental algorithm to maintain a DFS-forest in a directed acyclic graph under a sequence of arc insertions in 0( nm) worst case total time, where n is the number of nodes and m is the number of arcs after the insertions. This compares favorably with the time required to recompute DF