- Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmain.cpp
More file actions
Latest commit
30 lines (30 loc) · 584 Bytes
/
Copy pathmain.cpp
File metadata and controls
30 lines (30 loc) · 584 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include<iostream>
#include<queue>
#include<vector>
#include<algorithm>
#include<cstdio>
#include<cstring>
#include"frequent.h"
usingnamespacestd;
main(int argc,char *argv[])
{
if(argc<2)
{
printf("See proper usage\n");
exit(0);
}
Clusters c(argv[1]);
c.makegraph();
c.prunegraph();
c.makecluster();
//c.printcentroid();
//c.printquerycluster();
c.getsessions();
// c.printsessions();
c.frequentconcepts();
c.pruneconcepts();
c.representcluster();
c.printconcepts();
c.buildsuffixtree();
return0;
}