TopicWord Class Reference

A Topic object. More...

#include <TopicWord.h>

List of all members.

Public Member Functions

 TopicWord (int realNumber, int topicCount=0, FILE_POS_TYPE filePosition=0)
 Initialise the topic with statistics, such as id, list length and file position in index.
 TopicWord (FileIO *file)
 Read topic from a file.
void assignPosition (FILE_POS_TYPE position)
 Assign the file position.
void assignRowLimits (Quantise *quantiser)
 Assign the topic float range from the quantiser.
void retrieveRowLimits (Quantise *quantiser)
 Provide topic value range to the quantiser.
FILE_POS_TYPE filePosition (void)
 Return the topic file position.
int number (void)
 Return the topic id.
int topicCount (void)
 Return the number of elements associated to the topic.
int length (void)
 Return the number of elements associated to the topic.
void incrementTopicCount (void)
 Increment the number of elements assigned to the topic.
void purge (FileIO *file)
 Write the topic to the provided file.
void salvage (FileIO *file)
 Read the topic from a file.

Detailed Description

A Topic object.

This class is used to store and manipulate topic objects produced from methods such as LSA, PLSA and LDA.

Author
lapark
Revision
1.5
Date
2009/10/08 06:41:30
Id
TopicWord.h,v 1.5 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:17 2009 for textIR by  doxygen 1.6.1