MCPcopy Create free account
hub / github.com/ShahjalalShohag/code-library / node

Class node

Strings/Suffix Automaton.cpp:12–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10// terminal nodes -> store the suffixes
11struct SuffixAutomaton {
12 struct node {
13 int len, link, firstpos;
14 map<char, int> nxt;
15 };
16 int sz, last;
17 vector<node> t;
18 vector<int> terminal;

Callers 2

ACMethod · 0.70
add_patternMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected