diff options
| author | Paul Jungeblut <paul.jungeblut@gmail.com> | 2017-03-19 15:58:59 +0100 |
|---|---|---|
| committer | Paul Jungeblut <paul.jungeblut@gmail.com> | 2017-03-19 15:58:59 +0100 |
| commit | 52cae605f443e7b3e165ddcdd880d5c8e5fff835 (patch) | |
| tree | a6fb7bb489b0808f22b6768ce81eee9b4b32c8da /string/trie.cpp | |
| parent | 47c7fa753df448801794aba14ec56a491fc4f389 (diff) | |
Slight changes to suffix tree and adding implicit cartesian STL tree.
Diffstat (limited to 'string/trie.cpp')
| -rw-r--r-- | string/trie.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/string/trie.cpp b/string/trie.cpp index 163a110..1b5f573 100644 --- a/string/trie.cpp +++ b/string/trie.cpp @@ -1,5 +1,5 @@ struct node { - node *(e)[26]; // Implementierung für Kleinbuchstaben. + node *e[26]; // Implementierung für Kleinbuchstaben. int c = 0; // Anzahl der Wörter, die an diesem node enden. node() { for(int i = 0; i < 26; i++) e[i] = NULL; } }; |
