Rearrange the blocks to form an inverted index. More...
#include <PermuteBlocks.h>
Public Member Functions | |
PermuteBlocks (FileBlockQueue *scatterQueue, BlockStats *blockSize) | |
Intialise the class with the scatterQueue from MergeBlocks. | |
void | permute (void) |
Perform the block permutation. | |
void | fillEmpties (void) |
Shuffle the blocks up to fill in any empty file spots after permutation. |
Rearrange the blocks to form an inverted index.
This class provides the methods rearrange the merged blocks into a sorted inverted index. It should be used after MergeBlocks.