Package | Description |
---|---|
weka.core |
Modifier and Type | Field and Description |
---|---|
protected Trie.TrieNode |
Trie.TrieIterator.m_CurrentLeaf
the current leaf node
|
protected Trie.TrieNode |
Trie.TrieIterator.m_LastLeaf
the last leaf for this root node
|
protected Trie.TrieNode |
Trie.m_Root
the root node
|
protected Trie.TrieNode |
Trie.TrieIterator.m_Root
the node to use as root
|
Modifier and Type | Field and Description |
---|---|
protected Hashtable<Character,Trie.TrieNode> |
Trie.TrieNode.m_Children
for fast access to the children
|
Modifier and Type | Method and Description |
---|---|
protected Trie.TrieNode |
Trie.TrieNode.add(Character c)
adds the given charater to its children
|
Trie.TrieNode |
Trie.TrieNode.find(String suffix)
returns the node with the given suffix
|
Trie.TrieNode |
Trie.getRoot()
returns the root node of the trie
|
Modifier and Type | Method and Description |
---|---|
protected String |
Trie.toString(Trie.TrieNode node)
returns the node as String
|
Constructor and Description |
---|
TrieIterator(Trie.TrieNode node)
initializes the iterator
|
Copyright © 2015 University of Waikato, Hamilton, NZ. All rights reserved.