#include <ExperienceFile.hh>
Public Member Functions | |
void | closeFile () |
ExperienceFile () | |
void | initFile (const char *filename, int nfeats) |
std::vector< experience > | loadExperiences (const char *filename) |
void | printExperience (experience e) |
void | saveExperience (experience e) |
~ExperienceFile () | |
Public Attributes | |
int | expNum |
ofstream | vectorFile |
Definition at line 12 of file ExperienceFile.hh.
ExperienceFile::ExperienceFile | ( | ) | [inline] |
Definition at line 20 of file ExperienceFile.hh.
ExperienceFile::~ExperienceFile | ( | ) | [inline] |
Definition at line 24 of file ExperienceFile.hh.
void ExperienceFile::closeFile | ( | ) | [inline] |
Definition at line 108 of file ExperienceFile.hh.
void ExperienceFile::initFile | ( | const char * | filename, |
int | nfeats | ||
) | [inline] |
Definition at line 29 of file ExperienceFile.hh.
std::vector<experience> ExperienceFile::loadExperiences | ( | const char * | filename | ) | [inline] |
Definition at line 75 of file ExperienceFile.hh.
void ExperienceFile::printExperience | ( | experience | e | ) | [inline] |
Definition at line 58 of file ExperienceFile.hh.
void ExperienceFile::saveExperience | ( | experience | e | ) | [inline] |
Definition at line 36 of file ExperienceFile.hh.
Definition at line 18 of file ExperienceFile.hh.
ofstream ExperienceFile::vectorFile |
Standard constructor
Definition at line 17 of file ExperienceFile.hh.