void
-NwayPaths::setup_ent(double new_entropy_thres, vector<string> some_seqs)
+NwayPaths::setup_ent(double new_entropy_thres, vector<Sequence> some_seqs)
{
ent_thres = new_entropy_thres;
c_sequences.clear();
for (vector<string>::size_type i = 0; i < some_seqs.size(); i++)
- c_sequences.push_back((char *)some_seqs[i].c_str());
+ c_sequences.push_back((char *)some_seqs[i].get_sequence().c_str());
}
// check entropy <---------------------------------------------------
avg_entropy = path_entropy(path);
if (avg_entropy <= ent_thres)
- pathz.push_back(ConservedPath(avg_entropy, path));
+ pathz.push_back(ConservedPath(win_size, avg_entropy, path));
// now advance the right iterator
not_advanced = true;