pywhy_graphs.algorithms.find_connected_pairs#
- pywhy_graphs.algorithms.find_connected_pairs(tuples, max_number)[source]#
Find connected pairs of domain tuples.
- Parameters:
- tuplesList of tuples
List of tuples of domain ids (i, j).
- max_numberint
The maximum number that can be in a domain id.
- Returns:
- connected_pairsset of tuples
Set of domain ids that are connected.