📄 occlist.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 + -