A vector of Documents. More...
#include <DocumentList.h>
Public Member Functions | |
| DocumentList (FileIO *file) | |
| Initialise the document stats vector from a file. | |
| DocumentList (void) | |
| Initialise an empty document stats vector. | |
| void | salvage (FileIO *file) |
| Read the document stats vectors from the given file. | |
| void | purge (FileIO *file) |
| Write the document stats vectors to the given file. | |
| float | averageTerms (void) |
| Return the average term count for the set of documents. | |
| void | calculateAverageTerms (void) |
| Calculate the average term count across the set of documents. | |
Friends | |
| class | GatherDocumentList |
A vector of Documents.
This class provides the methods to store and manipulate a vector of Document objects.
1.6.1