Skip to main content

Module dihypergraph

Module dihypergraph 

Source
Expand description

The directed hypergraph data structure.

Like Hypergraph, a DiHypergraph IS a bipartite StableDiGraph, but every directed membership edge is oriented Agent -> Hyperedge and carries a DiRole flag distinguishing the tail (senders) from the head (receivers). XGI parity: xgi.DiHypergraph (dihypergraph.py). Note XGI’s DiHypergraph is NOT a subclass of Hypergraph, and neither is this.

Structs§

DiHypergraph
A directed hypergraph. XGI parity: xgi.DiHypergraph.