#include <IndexCount.hpp>
Public Methods | |
| IndexCount () | |
| IndexCount (int id, int ct) | |
| IndexCount (IndexCount &dc) | |
| IndexCount & | operator= (const IndexCount &that) |
| int | operator== (const IndexCount &that) const |
| int | operator!= (const IndexCount &that) const |
| int | operator> (const IndexCount &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, IndexCount *ic) |
| void | UseMemory (MemList &memList) |
Public Attributes | |
| int | index |
| int | count |
Static Private Methods | |
| void | insertionsort (IndexCount *a, int n) |
| void | rquicksort (IndexCount *a, int n) |
Static Private Attributes | |
| MemList * | pMemList = NULL |
A class for collecting counts of an index. Used for counting and sorting occurrences of terms and documents.
|
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.16