|
Terrier IR Platform 1.1.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.gla.terrier.structures.trees.DocumentTree
public class DocumentTree
This class represents the binary tree formed by the terms in a document.
Constructor Summary | |
---|---|
DocumentTree()
Deprecated. |
Method Summary | |
---|---|
void |
empty()
Deprecated. Empties the tree. |
int |
getNumberOfNodes()
Deprecated. Returns the number of nodes in the tree. |
int |
getNumberOfPointers()
Deprecated. Returns the number of pointers in the tree. |
void |
insert(java.lang.String newTerm)
Deprecated. Inserts a new term in the lexicon binary tree. |
TreeNode[] |
toArray()
Deprecated. Returns an array of the term nodes of the tree. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DocumentTree()
Method Detail |
---|
public void empty()
public int getNumberOfNodes()
public int getNumberOfPointers()
public void insert(java.lang.String newTerm)
newTerm
- The term to be inserted.public TreeNode[] toArray()
|
Terrier IR Platform 1.1.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |