9 #ifndef StochHMM_simpleNtable_h
10 #define StochHMM_simpleNtable_h
33 std::vector<std::pair<size_t,size_t>>
upstream;
43 std::cerr <<
"Differing number of orders and alphabets handed to SimpleArray" << std::endl;
49 for(
size_t j=0;j<=
order[i];++j){
52 std::pair<size_t,size_t> temp(
tracks[i],
order[i]-j);
70 std::cerr <<
"Unable to allocate SimpleArray" <<std::endl;
90 const T
get(
sequences& seqs,
size_t position)
const{
101 std::cerr <<
"Adding element beyond range of array" << std::endl;
103 (*elements)[index] = value;
106 void assign(T& value, std::vector<uint8_t>& seq){
113 (*elements)[index]=value;