23#include <cusp/detail/config.h>
24#include <cusp/detail/execution_policy.h>
39template <
typename DerivedPolicy,
44 ArrayType& components);
104template<
typename MatrixType,
107 ArrayType& components);
115#include <cusp/graph/detail/connected_components.inl>
size_t connected_components(const MatrixType &G, ArrayType &components)
Computes the connected components of a graph.