xgi
xgi copied to clipboard
Added a higher-order base class
This PR does the following:
- Adds a
HigherOrderNetwork
base class for all classes to inherit from. Currently implements a constructor and some basic functionality. - Now
Hypergraph
,SimplicialComplex
, andDiHypergraph
all inherit fromHigherOrderNetwork
.SimplicialComplex
now no longer inherits fromHypergraph
. - Methods with warnings (e.g.,
add_edge
) inSimplicialComplex
have been removed. - Renames the following. These are NOT breaking changes as they are all internal to XGI:
- Renames
_hypergraph
to_net_attr
- Renames
_hypergraph_attr_dict_factory
to_net_attr_dict_factory
- Renames
_hyperedge_dict_factory
to_edge_dict_factory
- Renames
- Up-versions pylint.