23 #include <cusp/detail/config.h>
25 #include <thrust/execution_policy.h>
38 template <
typename DerivedPolicy,
43 ArrayType& components);
103 template<
typename MatrixType,
typename ArrayType>
112 #include <cusp/graph/detail/connected_components.inl>
size_t connected_components(const MatrixType &G, ArrayType &components)
Computes the connected components of a graph.