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

IndexProb Class Reference

A class for collecting probabilities for an index. More...

#include <IndexProb.hpp>

List of all members.

Public Methods

 IndexProb ()
 IndexProb (int id,double ct)
 IndexProb (IndexProb &dc)
IndexProb& operator= (const IndexProb &that)
int operator== (const IndexProb &that)const
int operator!= (const IndexProb &that)const
int operator> (const IndexProb &that)const
void read (ifstream &ifs)
void write (ofstream &ofs)const
void* operator new (size_t size)
void operator delete (void *)

Public Attributes

int index
double prob

Static Public Methods

int rqSort (int n,IndexProb *ic)
void UseMemory (MemList &memList)


Detailed Description

A class for collecting probabilities for an index.

A class for collecting probabilities for an index. Used for counting and sorting scores of terms and documents.


Constructor & Destructor Documentation

IndexProb::IndexProb ( ) [inline]
 

IndexProb::IndexProb ( int id,
double ct ) [inline]
 

IndexProb::IndexProb ( IndexProb & dc ) [inline]
 


Member Function Documentation

void IndexProb::UseMemory ( MemList & memList ) [static]
 

void IndexProb::operator delete ( void * ) [inline]
 

void * IndexProb::operator new ( size_t size ) [inline]
 

int IndexProb::operator!= ( const IndexProb & that ) const [inline]
 

IndexProb & IndexProb::operator= ( const IndexProb & that ) [inline]
 

int IndexProb::operator== ( const IndexProb & that ) const [inline]
 

int IndexProb::operator> ( const IndexProb & that ) const [inline]
 

void IndexProb::read ( ifstream & ifs ) [inline]
 

int IndexProb::rqSort ( int n,
IndexProb * a ) [static]
 

void IndexProb::write ( ofstream & ofs ) const [inline]
 


Member Data Documentation

int IndexProb::index
 

double IndexProb::prob
 


The documentation for this class was generated from the following files:
Generated at Fri Jul 26 18:22:49 2002 for LEMUR by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000