mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 19:24:25 +03:00
use NGHolder::foo in favour of NFAGraph::foo
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015, Intel Corporation
|
||||
* Copyright (c) 2015-2016, Intel Corporation
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
@@ -158,7 +158,7 @@ void findPaths(const NGHolder &g, CorpusProperties &cProps,
|
||||
DEBUG_PRINTF("dequeuing path %s, back %u\n",
|
||||
pathToString(g, *p).c_str(), g[u].index);
|
||||
|
||||
NFAGraph::adjacency_iterator ai, ae;
|
||||
NGHolder::adjacency_iterator ai, ae;
|
||||
for (tie(ai, ae) = adjacent_vertices(u, g); ai != ae; ++ai) {
|
||||
NFAVertex v = *ai;
|
||||
|
||||
|
@@ -76,7 +76,7 @@ struct fmstate {
|
||||
fmstate(const NGHolder &g, bool som_in, bool utf8_in, bool aSD_in,
|
||||
const ReportManager &rm_in)
|
||||
: num_states(num_vertices(g)), states(num_states), next(num_states),
|
||||
vertices(num_vertices(g), NFAGraph::null_vertex()), som(som_in),
|
||||
vertices(num_vertices(g), NGHolder::null_vertex()), som(som_in),
|
||||
utf8(utf8_in), allowStartDs(aSD_in), rm(rm_in), accept(num_states),
|
||||
accept_with_eod(num_states) {
|
||||
// init states
|
||||
|
Reference in New Issue
Block a user