ash_model.paths.closed_s_walk

ash_model.paths.closed_s_walk(h, s, hyperedge_a, start=None, end=None)[source]

Find all simple cycles (basis) in the s-line-graph containing a given node.

Parameters:
  • h (ASH) – ASH instance.

  • s (int) – Minimum overlap size.

  • hyperedge_a (str) – Node ID in s-line-graph to find cycles through.

  • start (int | None) – Start time bound.

  • end (int | None) – End time bound.

Returns:

List of cycles, each as list of hyperedge IDs.

Return type:

List[List[str]]