fpgrowth.h

来自「很不容易找到的一个外国人写的Fp-growth的算法。注释很清楚」· C头文件 代码 · 共 34 行

H
34
字号
/*----------------------------------------------------------------------  File    : fpgrowth.h  Contents: fpgrowth algorithm for finding frequent sets  Author  : Bart Goethals  Update  : 4/4/2003  ----------------------------------------------------------------------*/class FPgrowth{ public:  FPgrowth();  ~FPgrowth();  void setData(char *file, int type)
  {
	  data = new Data(file,type);
  }  void setMinsup(unsigned ms)
  {
	  minsup = ms;
  }  void setOutput(char *of);  int mine(); private:  unsigned minsup;  Data *data;  FPtree *fpt;	  FILE *out;};

⌨️ 快捷键说明

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