occlist.h

来自「包含最大频繁序列的挖掘; 包含层次聚类算法」· C头文件 代码 · 共 26 行

H
26
字号
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
Header: OccList.h
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#ifndef OccList_H
#define OccList_H

#include "CMRmisc.h"
#include "TextTree.h"

using namespace std;

struct OccList { //the occurrence list for the FREQT, i.e., Asai's algorithm
	vector<pair<int,short> > occurrence;
	int lastTid;
	int mySupport;
	
	OccList() : lastTid(-1), mySupport(0)
	{
	}
	
	void insert(int& newTid, const int& newLocation, int& motherId);
};

#endif //OccList_H

⌨️ 快捷键说明

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