Open nwlandry opened 1 year ago
Some thoughts on this:
We should start by implementing a HigherOrderSystem
(HOrS) class with some basic functionality.
All higher-order networks have:
For example, interactions can be modeled as a:
{"in": {<tail>}, "out":{<head>}}
dictionaries for dihypergraphsMy thought is that we can implement all of the general things except for the edges in the base class and write interaction type-specific functionality in the inherited classes.
PR #541 implements the third item. Item 2 is fairly low priority, but when we implement this, Counter
might be preferable to a sorted list.
We should have
Hypergraph
inherit fromDiHypergraph
or vice-versa as well asIDView
/DiIDView
to avoid overly duplicated code.