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
iterator, iterator, nodeIDs, nodeIDs, size, size
createDynamicNodeMapping, createDynamicNodeMapping, createStaticNodeMapping, createStaticNodeMapping
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createDynamicNodeMapping, createStaticNodeMapping
forEach, iterator, spliterator
public SharedSuffixTrie(Alphabet<I> alphabet)
public SharedSuffixTrie(Alphabet<I> alphabet, boolean graphRepresentable)
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.