hatvis.temporal#

Temporal and comparative analysis of hypergraphs.

HyperGodot (Ficsor et al. 2025) introduced group tags to overlay and compare hypergraphs — time slices, or human-driven versus machine-driven tasks. This module provides the corresponding analyses: per-group statistics, snapshot turnover, persistence of interactions and the difference of two hypergraphs.

Turnover, persistence, differences, group statistics.

Functions#

group_statistics(H[, group, weight_name])

Statistics of the hyperedges per group tag (edge_data[group]).

turnover(T)

Change between consecutive snapshots: new, persisting and dropped vertex sets and their Jaccard similarity.

persistence(T)

For every distinct vertex set: number of time stamps in which it occurs, first and last occurrence.

difference(H1, H2[, labels])

Union of two hypergraphs with edge_data["status"] = both / only first / only second.

temporal_centrality(T, func, **kwargs)

Apply a vertex measure (e.g. hatvis.degree_centrality) to every snapshot: time x vertices.