Files
easy-graph--easy-graph/cpp_easygraph/functions/community/louvain.h
T
2026-07-13 12:36:30 +08:00

20 lines
456 B
C++

#pragma once
#include <pybind11/pybind11.h>
namespace py = pybind11;
py::object cpp_louvain_communities(
py::object G,
py::object weight = py::str("weight"),
py::object threshold = py::float_(0.0),
py::object resolution = py::float_(1.0)
);
py::object cpp_louvain_communities_serial(
py::object G,
py::object weight = py::str("weight"),
py::object threshold = py::float_(0.0),
py::object resolution = py::float_(1.0)
);