ash_model.utils.projections.dual_hypergraph_projection_by_time

ash_model.utils.projections.dual_hypergraph_projection_by_time(h)[source]

Returns a dictionary of dual hypergraphs for each time step in the ASH object. Each entry in the dictionary contains the dual ASH and a node-to-edge mapping dictionary.

Parameters:

h (ASH) – The ASH object to be transformed into dual hypergraphs.

Returns:

A dictionary where keys are time steps and values are tuples containing the dual ASH and a node-to-edge mapping dictionary.

Return type:

Dict[int, tuple]