⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 frequentitemset.h

📁 用data miming技术进行false prediction
💻 H
字号:
#ifndef FREQUENT_ITEMSET_H
#define FREQUENT_ITEMSET_H

#include <iostream>
#include <string>
#include "boost/algorithm/string.hpp"

#include "AppException.h"

using namespace std;
using namespace boost;

class FrequentItemset {
    friend ostream& operator<<(ostream& os, const FrequentItemset& item);

    public:
        //FrequentItemset() {};
        FrequentItemset(string name, int count);

        virtual ~FrequentItemset() {};

        string getName() const;
        int getCount() const;
        int getSize() const;

    private:
        string mName;
        int mCount;
        int mSize;
        int getFICount(string str) const;

};

inline ostream& operator<<(ostream& os, const FrequentItemset& item) {
    os << item.getName();
    os << ": " << item.getCount() << " : " << item.getSize();

    return os;
};

#endif /* FREQUENT_ITEMSET_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -