计算机科学 > 社会与信息网络
[提交于 2026年5月12日]
标题:NPAP: Network Partitioning and Aggregation Package for Python
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:NPAP (Network Partitioning and Aggregation Package) is an open-source Python library for reducing the spatial complexity of network graphs. Built on NetworkX, it provides an accessible standalone package designed to be readily integrated with other software and frameworks. Instead of treating the spatial reduction process as a single action, NPAP explicitly splits it into two distinct steps: partitioning, which assigns vertices (nodes) to groups (clusters), and aggregation, which reduces the network based on a given assignment. NPAP's strategy pattern architecture allows users to employ and register custom partitioning and aggregation strategies seamlessly without modifying the core code. Currently, NPAP provides 13 different partitioning strategies and two pre-defined aggregation profiles. Although initially developed with a focus on power systems, its architecture is general-purpose and applicable to any network graph.
提交历史
来自:Benjamin Stöckl[v1] 2026年5月12日 星期二 13:57:40 UTC (334 KB)