23 #include <cusp/detail/config.h>
25 #include <thrust/execution_policy.h>
39 template <
typename DerivedPolicy,
44 const typename MatrixType::index_type src,
46 const bool mark_levels =
true);
94 template<
typename MatrixType,
typename ArrayType>
96 const typename MatrixType::index_type src,
98 bool mark_levels =
true);
105 #include <cusp/graph/detail/breadth_first_search.inl>
void breadth_first_search(const MatrixType &G, const typename MatrixType::index_type src, ArrayType &labels, bool mark_levels=true)
Performs a Breadth-first traversal of a graph starting from a given source vertex.