mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-18 10:10:35 +03:00
ng_depth: rename calcDepth functions, return vec
This commit is contained in:
committed by
Matthew Barr
parent
15c8a7bd98
commit
dfe1b8a2af
@@ -235,8 +235,7 @@ void splitIntoComponents(unique_ptr<NGHolder> g,
|
||||
*shell_comp = false;
|
||||
|
||||
// Compute "shell" head and tail subgraphs.
|
||||
vector<NFAVertexBidiDepth> depths;
|
||||
calcDepths(*g, depths);
|
||||
auto depths = calcBidiDepths(*g);
|
||||
auto head_shell = findHeadShell(*g, depths, max_head_depth);
|
||||
auto tail_shell = findTailShell(*g, depths, max_tail_depth);
|
||||
for (auto v : head_shell) {
|
||||
|
||||
Reference in New Issue
Block a user