42 std::string mydatasetpath;
43 std::string mydatasetname;
45 std::ofstream outhtml;
46 static const char * getModeExtension(
int qmode,
int refmode);
47 static const char * getFormatExtension(
LogFormat format);
48 static const char * getFormatName(
LogFormat format);
58 void init(
int formats,
const std::string & datasetpath,
const std::string & datasetname,
size_t n_videos,
int mode,
int refmode = 0);
76 void printMatchData(
int index,
const std::string & queryvideoname,
const std::string & refvideoname,
const MatchData & matchData);
85 void printRetrievalData(
int index,
const std::string & queryvideoname,
const std::vector<MatchData> & retrievalResults);
void printMatchHeader()
method used by the Evaluation Framework to produce log files; do not change.
output data as free text
Definition: LogManager.h:27
A class containing the results of a matching or retrieval operation.
Definition: cdva.h:109
output data in HTML format
Definition: LogManager.h:28
Namespace used to encapsulate all MPEG-7 CDVA declarations.
Definition: Buffer.h:14
Helper class to produce log files in various formats (csv, text, XML, etc.)
Definition: LogManager.h:38
output data in CSV format
Definition: LogManager.h:26
virtual ~LogManager()
destructor
void printMatchData(int index, const std::string &queryvideoname, const std::string &refvideoname, const MatchData &matchData)
method used by the Evaluation Framework to produce log files; do not change.
void printRetrievalData(int index, const std::string &queryvideoname, const std::vector< MatchData > &retrievalResults)
method used by the Evaluation Framework to produce log files; do not change.
LogFormat
Format of output logs.
Definition: LogManager.h:24
void init(int formats, const std::string &datasetpath, const std::string &datasetname, size_t n_videos, int mode, int refmode=0)
initialization method used by the Evaluation Framework; do not change.
do not output any data
Definition: LogManager.h:25
void printExtractData(int index, const std::string &videoname, const ExtractData &data)
method used by the Evaluation Framework to produce log files; do not change.
void printRetrievalHeader()
method used by the Evaluation Framework to produce log files; do not change.
void printExtractHeader()
method used by the Evaluation Framework to produce log files; do not change.