config.h
来自「用data miming技术进行false prediction」· C头文件 代码 · 共 31 行
H
31 行
#ifndef CONFIG_H
#define CONFIG_H
#include <iostream>
using namespace std;
class Config {
friend ostream& operator<<(ostream& os, const Config& iht);
public:
virtual ~Config() {};
static Config* getInstance();
void setParameters(int support, float conf, float prob);
int getSupport() const;
float getConfidence() const;
float getProbability() const;
protected:
Config() {};
private:
int support;
float confidence;
float prob;
};
#endif /* CONFIG_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?