23 #include <cusp/detail/config.h>
25 #include <thrust/execution_policy.h>
39 template <
typename DerivedPolicy,
42 void hilbert_curve(
const thrust::detail::execution_policy_base<DerivedPolicy>& exec,
43 const Array2dType& coord,
44 const size_t num_parts,
105 template <
class Array2dType,
class ArrayType>
106 void hilbert_curve(
const Array2dType& coord,
const size_t num_parts, ArrayType& parts);
114 #include <cusp/graph/detail/hilbert_curve.inl>
void hilbert_curve(const Array2dType &coord, const size_t num_parts, ArrayType &parts)
Partition a graph using Hilbert curve.