ash_model.paths.walks.all_shortest_s_walks¶
- ash_model.paths.walks.all_shortest_s_walks(h, s, hyperedge_a=None, start=None, end=None, weight=False, edge=True)[source]¶
Retrieve the shortest s-walk(s) in the hypergraph or its dual.
Delegates to shortest_s_walk.
- Parameters:
- Returns:
Single path (list) if two endpoints specified, or dict of {target: path} if one endpoint, or nested dict if neither.
- Return type: