|
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.BlockLexiconTree
public class BlockLexiconTree
The binary tree used when constructing the lexicon with block information. The tree nodes are instances of BlockLexiconTreeNode.
| Constructor Summary | |
|---|---|
BlockLexiconTree()
Deprecated. |
|
| Method Summary | |
|---|---|
int |
getNumberOfNodes()
Deprecated. Returns the number of nodes in the tree. |
int |
getNumberOfPointers()
Deprecated. Returns the number of pointers in the tree. |
void |
insert(BlockFieldDocumentTreeNode node)
Deprecated. Inserts a new ndoe in the block lexicon binary tree. |
void |
insertBuffer(BlockFieldDocumentTreeNode[] buffer)
Deprecated. Inserts to the tree the terms contained in the buffer. |
void |
storeToFile(java.lang.String filename)
Deprecated. Stores the lexicon tree to a file as a vector of entries. |
void |
storeToStream(BlockLexiconOutputStream lexiconStream)
Deprecated. Stores the lexicon tree to a lexicon stream as a sequence of entries. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BlockLexiconTree()
| Method Detail |
|---|
public int getNumberOfNodes()
public int getNumberOfPointers()
public void insert(BlockFieldDocumentTreeNode node)
node - The node to be inserted.public void insertBuffer(BlockFieldDocumentTreeNode[] buffer)
buffer - a matrix of TreeNodes
public void storeToFile(java.lang.String filename)
throws java.io.IOException
filename - The name of the file to store to.
java.io.IOException
public void storeToStream(BlockLexiconOutputStream lexiconStream)
throws java.io.IOException
lexiconStream - The lexicon output stream to store to.
java.io.IOException
|
Terrier IR Platform 1.1.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||