public class SharedSuffixTrie<I> extends SuffixTrie<I>
DEFAULT_GRAPH_REPRESENTABLE, nodes, root
Constructor and Description |
---|
SharedSuffixTrie(Alphabet<I> alphabet) |
SharedSuffixTrie(Alphabet<I> alphabet,
boolean graphRepresentable) |
Modifier and Type | Method and Description |
---|---|
SuffixTrieNode<I> |
add(I symbol,
SuffixTrieNode<I> parent)
Adds a word to the trie.
|
getGraphDOTHelper, getNodes, getOutgoingEdges, getRoot, getTarget
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createDynamicNodeMapping, createStaticNodeMapping
forEach, spliterator
public SuffixTrieNode<I> add(I symbol, SuffixTrieNode<I> parent)
SuffixTrie
add
in class SuffixTrie<I>
symbol
- the first symbol of the word.parent
- the remaining suffix of the word.Copyright © 2015. All rights reserved.