forked from simongog/sdsl-lite
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexpl-22.cpp
More file actions
Latest commit
17 lines (15 loc) · 465 Bytes
/
Copy pathexpl-22.cpp
File metadata and controls
17 lines (15 loc) · 465 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include<sdsl/suffix_trees.hpp>
#include<iostream>
usingnamespacesdsl;
usingnamespacestd;
intmain()
{
cst_sct3<csa_wt<wt_int<rrr_vector<>>>> cst;
int_vector<> data(100000, 0, 10);
for (size_t i=0; i < data.size(); ++i)
data[i] = 1 + rand()%1023;
construct_im(cst, data);
cout << "cst.csa.sigma: " << cst.csa.sigma << endl;
for (size_t k=0; k<3; ++k)
cout << "H" << k << "(data) : " << get<0>(Hk(cst, k)) << endl;
}