#include <static_sequence_wvtree.h>
static_sequence_wvtree::static_sequence_wvtree(uint * symbols, uint n, wt_coder * c, static_bitsequence_builder * bmb, alphabet_mapper * am) {
+ this->n = n;
for(uint i=0;i<n;i++)
symbols[i] = am->map(symbols[i]);
this->am = am;
}
static_sequence_wvtree::static_sequence_wvtree(uchar * symbols, uint n, wt_coder * c, static_bitsequence_builder * bmb, alphabet_mapper * am) {
+ this->n = n;
for(uint i=0;i<n;i++)
symbols[i] = (uchar)am->map((uint)symbols[i]);
this->am = am;