pnnl / HyperNetX

Python package for hypergraph analysis and visualization.
https://hypernetx.readthedocs.io
Other
500 stars 86 forks source link

Why static and dynamic distinctions no longer exist #116

Closed yizhihenpidehou closed 12 months ago

yizhihenpidehou commented 12 months ago

I'm curious about the reasons. Is there any storage/computation inefficient problem?

bpraggastis commented 12 months ago

The static hypergraph was based on Numpy arrays, which are immutable. We've updated the library to use Pandas dataframes, which can be modified internally. The new data structure is more performant and will allow us to implement add/remove methods.