7 #ifndef DEPTH_FIRST_ITERATOR_HPP_ 8 #define DEPTH_FIRST_ITERATOR_HPP_ 11 #include "boost/assert.hpp" 21 typedef std::pair<Branch_id, unsigned> branch_t;
22 typedef std::stack<branch_t> stack;
26 s_.push(branch_t(bid, 0));
31 Branch_id id()
const {
32 BOOST_ASSERT( ! at_end() );
33 return s_.top().first;
36 bool at_end()
const {
return s_.empty();}
Main namespace of vdj_pipe library.
Definition: sequence_file.hpp:14
Definition: depth_first_iterator.hpp:20
Generalized DNA suffix tree.
Definition: gdst.hpp:66