mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-18 18:20:35 +03:00
ng_depth: rename calcDepth functions, return vec
This commit is contained in:
committed by
Matthew Barr
parent
15c8a7bd98
commit
dfe1b8a2af
@@ -603,9 +603,7 @@ private:
|
||||
// check if we will edit our way into a vacuous pattern
|
||||
static
|
||||
bool will_turn_vacuous(const NGHolder &g, u32 edit_distance) {
|
||||
vector<NFAVertexRevDepth> depths;
|
||||
|
||||
calcDepths(g, depths);
|
||||
auto depths = calcRevDepths(g);
|
||||
|
||||
depth min_depth = depth::infinity();
|
||||
auto idx = g[g.start].index;
|
||||
|
||||
Reference in New Issue
Block a user