forked from simongog/sdsl-lite
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexpl-19.cpp
More file actions
Latest commit
14 lines (12 loc) · 352 Bytes
/
Copy pathexpl-19.cpp
File metadata and controls
14 lines (12 loc) · 352 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include<sdsl/suffix_arrays.hpp>
#include<iostream>
#include<algorithm>
usingnamespacestd;
usingnamespacesdsl;
intmain()
{
csa_wt<wt_int<rrr_vector<63>>> csa;
construct_im(csa, "1 8 15 23 1 8 23 11 8", 'd');
cout << " i SA ISA PSI LF BWT T[SA[i]..SA[i]-1]" << endl;
csXprintf(cout, "%2I %2S %3s %3P %2p %3B %:3T", csa);
}