ash_model.paths.all_time_respecting_s_walks

ash_model.paths.all_time_respecting_s_walks(h, s, start=None, end=None, sample=1)[source]

Compute time-respecting s-walks originating from every hyperedge in the graph.

Parameters:
  • h (ASH) – The hypergraph.

  • s (int) – Minimum s-incidence threshold.

  • start (int | None) – Earliest snapshot to include.

  • end (int | None) – Latest snapshot to include.

  • sample (float) – Fraction of source-target samples per origin.

Returns:

Mapping (origin_edge, destination_edge) -> list of walks.

Return type:

dict