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

MSApriori.hpp

Go to the documentation of this file.
00001 /***************************************************************************
00002                           msapriori.h  -  description
00003                              -------------------
00004     begin                : cs dec 26 2002
00005     copyright            : (C) 2002 by Ferenc Bodon
00006     email                : bodon@mit.bme.hu
00007  ***************************************************************************/
00008 
00009 #ifndef MSAPRIORI_H
00010 #define MSAPRIORI_H
00011 
00012 #include "MSApriori_Trie.hpp"
00013 #include <map>
00014 
00015 
00072 class MSApriori {
00073 public:
00074    MSApriori( ifstream& basket_file, const char* output_file_name, const bool store_input );
00075 
00077    void MSAPRIORI_alg( ifstream& mis_file, const double min_conf, 
00078                        const bool quiet, const unsigned long size_threshold );
00079    ~MSApriori();
00080 private:
00081 
00083    void support( const itemtype& candidate_size );
00084 
00085 protected:
00086    // No protected class data members
00087 
00088 private:
00090    MSApriori_Trie*                        msapriori_trie;
00092    Input_Output_Manager                   input_output_manager;
00094    map<vector<itemtype>, unsigned long>   reduced_baskets;
00096    bool                                   store_input;
00097 };
00098 
00099 #endif

Generated on Sun Jun 20 23:41:08 2004 for APRIORI algorithm by doxygen 1.3.5