deltakit.decode.utils.pijs_edge_diff#
- deltakit.decode.utils.pijs_edge_diff(pij1: dict[frozenset[int], float], pij2: dict[frozenset[int], float]) tuple[set, set]#
Compare two Pij dicts to see if they contain the same edges.
- Parameters:
pij1 (PijData) – The first Pij for comparison.
pij2 (PijData) – The second Pij for comparison
- Returns:
True if Pijs contain same edges, False otherwise. Tuple of the difference from pij1 to pij2 and pij2 to pij1, respectively.
- Return type:
Tuple[Set, Set]