MergeBlocks< T, S > Class Template Reference

Merge the scanned triple blocks for index construction. More...

List of all members.

Public Member Functions

 MergeBlocks (BlockStats *blockStats)
 Initialise the block merging.
void merge (FileBlockQueue *runPositions, FileBlockQueue *wordList, FileBlockQueue *wUsedQueue)
 Perform the triple block merging.

Detailed Description

template<typename T, typename S>
class MergeBlocks< T, S >

Merge the scanned triple blocks for index construction.

This class provides the methods to merge the sorted triple blocks to produce triples sorted by their word id. Note that these sorted blocks are scattered through the binary file and must later be sorted using PermuteBlocks. The template parameters are the class of objects being read (T) and the class of objects being written (S).

Author
lapark
Revision
1.7
Date
2009/10/08 06:41:30
Id
MergeBlocks.tcc,v 1.7 2009/10/08 06:41:30 lapark Exp

The documentation for this class was generated from the following file:
 All Classes Functions Variables Friends

Generated on Tue Nov 10 14:12:14 2009 for textIR by  doxygen 1.6.1