Update decremental scc algorithm
This commit is contained in:
@@ -65,7 +65,7 @@ void Tarjan<T>::strongConnect(const T& u) {
|
||||
finished = (w == u);
|
||||
} while (!finished);
|
||||
|
||||
SCCs.push_back({ scc, static_cast<T>(vmap[u].lowlink) });
|
||||
SCCs.push_back({ scc, static_cast<T>(vmap[u].lowlink + 1) });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user