Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

DBCacheTester Class Reference

#include <DBCacheTester.hpp>

List of all members.

Public Member Functions

void usageDBCacheTester ()
void doTest (int argc, char *argv[])

Private Types

typedef CacheNormalDecoder D

Private Member Functions

template<class CACHER>
void selectMode (char *codemode, char *file_name, int nr_of_traversals, item_t largest_item, D *decoder, std::vector< std::pair< counter_t, item_t > > *freq_items_with_counters)
template<class CACHER, CodeMode MODE>
void cacheDatabase (char *file_name, int nr_of_traversals, item_t largest_item, D *decoder, std::vector< std::pair< counter_t, item_t > > *freq_items_with_counters)


Detailed Description

Author:
Ferenc Bodon

Definition at line 18 of file DBCacheTester.hpp.


Member Typedef Documentation

typedef CacheNormalDecoder DBCacheTester::D [private]
 

Definition at line 24 of file DBCacheTester.hpp.


Member Function Documentation

template<class CACHER, CodeMode MODE>
void DBCacheTester::cacheDatabase char *  file_name,
int  nr_of_traversals,
item_t  largest_item,
D decoder,
std::vector< std::pair< counter_t, item_t > > *  freq_items_with_counters
[private]
 

Definition at line 69 of file DBCacheTester.hpp.

References FileReprBase::READ, and CacheNormalDecoder< FR >::writeItemsetAndCounter().

void DBCacheTester::doTest int  argc,
char *  argv[]
 

Definition at line 54 of file DBCacheTester.cpp.

References FrequentFilter< IT_R >::findFrequentItems(), FileReprBase::READ, usageDBCacheTester(), and FileReprBase::WRITE.

Referenced by main().

template<class CACHER>
void DBCacheTester::selectMode char *  codemode,
char *  file_name,
int  nr_of_traversals,
item_t  largest_item,
D decoder,
std::vector< std::pair< counter_t, item_t > > *  freq_items_with_counters
[private]
 

Definition at line 38 of file DBCacheTester.hpp.

References usageDBCacheTester().

void DBCacheTester::usageDBCacheTester  ) 
 

Author:
Ferenc Bodon

Definition at line 41 of file DBCacheTester.cpp.

Referenced by doTest(), and selectMode().


The documentation for this class was generated from the following files:
Generated on Sun Sep 17 17:55:15 2006 for FIM environment by  doxygen 1.4.4