You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(community): improve C++ compatibility, fallbacks, and add test suite
- localsearch: replace C++17 structured binding with std::tie for C++14
compatibility (parent/dist destructuring in BFS queue)
- louvain / motif / graph_coloring: detect OpenMP support via _OPENMP
macro and emit a clear runtime warning when OpenMP is unavailable,
falling back to serial execution gracefully
- modularity: handle edge cases (empty node list, edgeless graph) by
returning 0.0 and skip zero-degree nodes without division-by-zero
- tests/: add a complete unittest suite covering modularity,
greedy_modularity, enumerate_subgraph, louvain (parallel + serial),
LPA, ego_graph (+ CSR variant), and localsearch, plus a run_all_tests.py
entry point with a friendly summary
0 commit comments