1 #ifndef x_graphwalker_h
2 #define x_graphwalker_h
12 template <
class N,
class E>
29 typedef typename std::pair<const_edge_iterator, const_edge_iterator>
edge_range;
82 template<
class N,
class E>
94 template<
class N,
class E>
108 template<
class N,
class E>
117 return value_type(graph_.nodeData(er.first->first), graph_.edgeData(er.first->second));
121 template<
class N,
class E>
125 return value_type(graph_.nodeData(e.first), graph_.edgeData(e.second));
129 template<
class N,
class E>
137 queue_.push(
root_[0]);
142 template<
class N,
class E>
147 = graph_.edges(stack_.back().first->first);
148 if (adjEdges.first != adjEdges.second) {
149 stack_.push_back(adjEdges);
156 template<
class N,
class E>
162 if (siblings.first != (siblings.second - 1) ) {
171 template<
class N,
class E>
176 if (stack_.size()>1) {
184 template<
class N,
class E>
191 else if(stack_.size()>1 && nextSibling()) {
196 if(stack_.size()>1 && nextSibling()) {
205 template<
class N,
class E>
209 if (!queue_.empty()) {
211 const edge_range & er = graph_.edges(e.first);
213 for (; it != ed; ++it) {
217 if (!queue_.empty()) {
graph< N, E >::edge_iterator edge_iterator
const graph< N, E > & graph_
graph< N, E >::index_type index_type
std::pair< index_type, bool > index_result
graph< N, E >::const_edge_iterator const_edge_iterator
std::vector< double >::size_type index_type
const stack_type & stack() const
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
value_type current_bfs() const
std::pair< index_type, index_type > edge_type
graph< N, E >::edge_list edge_list
std::vector< edge_type > edge_list
std::queue< edge_type > bfs_type
graph< N, E >::value_type value_type
std::vector< edge_range > stack_type
std::pair< const_edge_iterator, const_edge_iterator > edge_range
Container::value_type value_type
result_type nextSibling()
edge_list::iterator edge_iterator
value_type current() const
graph< N, E >::edge_type edge_type
edge_list::const_iterator const_edge_iterator
static const char root_[]
graph< N, E >::index_result index_result
string root
initialization