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

SupportCounterInterface.hpp

Go to the documentation of this file.
00001 
00008 #ifndef SupportCounterInterface_HPP
00009 #define SupportCounterInterface_HPP
00010 
00011 #include "common.hpp"
00012 #include "common/log.h"
00013 #include <vector>
00014 //#include <cstdio>
00015 //#include <iterator>   //for test
00016 
00017 
00018 
00022 template <class DATA_STRUCTURE, class TR, class SC = Dummy>
00023 class SupportCounterInterface
00024 {
00025    private:
00026 
00027       DATA_STRUCTURE& data_structure;
00028       TR& transaction_reader;
00029       SC support_counter;
00030 
00031    public:
00032       SupportCounterInterface( DATA_STRUCTURE& data_structure,
00033                               TR& transaction_reader) :
00034          data_structure(data_structure), 
00035          transaction_reader(transaction_reader){}
00036 
00046       void countSupport(const unsigned int candidate_size)
00047       {
00048          log_err(0,"Using countSupport method of SupportCounterInterface"); 
00049       }
00050 
00051 };
00052 
00053 #endif

Generated on Sun Sep 17 17:50:40 2006 for FIM environment by  doxygen 1.4.4