Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

makeprior.cpp File Reference

#include "indri/QueryEnvironment.hpp"
#include "indri/Parameters.hpp"
#include "indri/File.hpp"
#include "indri/SequentialReadBuffer.hpp"
#include "indri/SequentialWriteBuffer.hpp"
#include "indri/Path.hpp"
#include "indri/ScopedLock.hpp"
#include <queue>
#include <fstream>

Classes

struct  MergeFile

Functions

void copy_region (indri::file::File &out, indri::file::File &in, UINT64 position, UINT64 length)
void merge_sorted_runs (indri::file::File &out, std::vector< std::string > &inputs, int totalDocuments)
int sort_comparator (const void *one, const void *two)
void sort_run (indri::file::File &out, indri::file::File &in, size_t memory)
void sort_file (indri::file::File &out, indri::file::File &in, size_t memory, int totalDocuments)
void convert_intscore_to_long_binary (indri::file::File &outfile, const char *infile)
void convert_docnoscore_to_binary (indri::file::File &outfile, const std::string &infile, indri::api::QueryEnvironment &env)
void invert_map (std::map< int, double > &out, const std::map< double, int > &in)
void compress_file (indri::file::File &out, indri::file::File &in, const std::map< double, int > &values)
bool extract_compression_table (std::map< double, int > &values, indri::file::File &in)
void install_prior (const std::string &indexPath, const std::string &priorName, indri::file::File &priorFile)
int main (int argc, char **argv)

Function Documentation

void compress_file indri::file::File out,
indri::file::File in,
const std::map< double, int > &  values
 

void convert_docnoscore_to_binary indri::file::File outfile,
const std::string &  infile,
indri::api::QueryEnvironment env
 

void convert_intscore_to_long_binary indri::file::File outfile,
const char *  infile
 

void copy_region indri::file::File out,
indri::file::File in,
UINT64  position,
UINT64  length
 

bool extract_compression_table std::map< double, int > &  values,
indri::file::File in
 

void install_prior const std::string &  indexPath,
const std::string &  priorName,
indri::file::File priorFile
 

void invert_map std::map< int, double > &  out,
const std::map< double, int > &  in
 

int main int  argc,
char **  argv
 

void merge_sorted_runs indri::file::File out,
std::vector< std::string > &  inputs,
int  totalDocuments
 

int sort_comparator const void *  one,
const void *  two
 

void sort_file indri::file::File out,
indri::file::File in,
size_t  memory,
int  totalDocuments
 

void sort_run indri::file::File out,
indri::file::File in,
size_t  memory
 


Generated on Tue Jun 15 11:02:57 2010 for Lemur by doxygen 1.3.4