DocumentList Class Reference

A vector of Documents. More...

#include <DocumentList.h>

Inheritance diagram for DocumentList:
ObjectList< Document >

List of all members.

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

Detailed Description

A vector of Documents.

This class provides the methods to store and manipulate a vector of Document objects.

Author
lapark
Revision
1.4
Date
2009/10/08 06:41:30
Id
DocumentList.h,v 1.4 2009/10/08 06:41:30 lapark Exp

The documentation for this class was generated from the following files:
 All Classes Functions Variables Friends

Generated on Tue Nov 10 14:12:12 2009 for textIR by  doxygen 1.6.1