#include <IndexProb.hpp>
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 *) |
Static Public Methods | |
| int | rqSort (int n, IndexProb *ic) |
| void | UseMemory (MemList &memList) |
Public Attributes | |
| int | index |
| double | prob |
Static Private Methods | |
| void | insertionsort (IndexProb *a, int n) |
| void | rquicksort (IndexProb *a, int n) |
Static Private Attributes | |
| MemList * | pMemList = NULL |
A class for collecting probabilities for an index. Used for counting and sorting scores of terms and documents.
|
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.16