Commentary

This commit is contained in:
Geza Lore
2022-09-28 14:43:40 +01:00
parent 75a70bee6d
commit a999c73ce0
+4 -1
View File
@@ -178,7 +178,10 @@ private:
std::vector<V3GraphVertex*> m_callTrace; // List of everything we hit processing so far
void main() {
// Use Tarjan's algorithm to find the strongly connected subgraphs.
// Use Pearce's algorithm to color the strongly connected components. For reference see
// "An Improved Algorithm for Finding the Strongly Connected Components of a Directed
// Graph", David J.Pearce, 2005
//
// Node State:
// Vertex::user // DFS number indicating possible root of subtree, 0=not iterated
// Vertex::color // Output subtree number (fully processed)