hatvis.core#

Core data structures: Hypergraph, DirectedHypergraph and TemporalHypergraph.

A hypergraph \(H=(V,E,w)\) is stored through its incidence matrix \(\mathbf{B}\in\mathbb{R}^{n\times m}\) (rows: vertices, columns: hyperedges), the hyperedge weights \(w_e\) and two attribute tables.

Undirected (multi-, weighted, fuzzy), directed and temporal hypergraphs.

Classes#

Hypergraph([edges, nodes, weights, ...])

Undirected (multi-, weighted, fuzzy) hypergraph.

DirectedHypergraph(arcs, *[, nodes, ...])

Directed hypergraph: every hyperarc \(e=(T(e),\,H(e))\) has a tail and a head set.

TemporalHypergraph([edges, times])

Hypergraph whose hyperedges carry a time stamp (or any ordered group label).