#ifndef NK_COARSENING_H #define NK_COARSENING_H #include "rust/cxx.h" #include #include namespace NetworKit { using namespace std; inline unique_ptr NewParallelPartitionCoarsening(const Graph &G, const Partition &zeta, bool parallel = true) { return make_unique(G, zeta, parallel); } inline unique_ptr ParallelPartitionCoarseningGetCoarseGraph(const ParallelPartitionCoarsening &algo) { return make_unique(algo.getCoarseGraph()); } inline unique_ptr> ParallelPartitionCoarseningGetFineToCoarseNodeMapping(const ParallelPartitionCoarsening &algo) { return make_unique>(algo.getFineToCoarseNodeMapping()); } } #endif // NK_COARSENING_H