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

📄 occlist.h

📁 包含最大频繁序列的挖掘; 包含层次聚类算法
💻 H
字号:
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -