Ë
    D^(hŒ  ã                   ó:   — d Z ddlZdgZej                  d„ «       Zy)z2Helper functions for community-finding algorithms.é    NÚis_partitionc                 óâ   — t        |t        «      st        |«      }|D ��ch c]  }|D ]	  }|| v sŒ|’Œ Œ }}}t        | «      t        |«      cxk(  xr t        d„ |D «       «      k(  S c S c c}}w )aŸ  Returns *True* if `communities` is a partition of the nodes of `G`.

    A partition of a universe set is a family of pairwise disjoint sets
    whose union is the entire universe set.

    Parameters
    ----------
    G : NetworkX graph.

    communities : list or iterable of sets of nodes
        If not a list, the iterable is converted internally to a list.
        If it is an iterator it is exhausted.

    c              3   ó2   K  — | ]  }t        |«      –— Œ y ­w)N)Úlen)Ú.0Úcs     úk/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/networkx/algorithms/community/community_utils.pyú	<genexpr>zis_partition.<locals>.<genexpr>   s   è ø€ Ò&C°!¤s¨1§vÑ&Cùs   ‚)Ú
isinstanceÚlistr   Úsum)ÚGÚcommunitiesr   ÚnÚnodess        r	   r   r      sk   € ô$ �k¤4Ô(Ü˜;Ó'ˆØ#×9�1¨QÒ9¨°!°q²&ŠQÐ9ˆQÐ9€EÑ9äˆq‹6”S˜“ZÖC¤3Ñ&C°{Ô&CÓ#CÑCÐCÑCÐCùó :s
   ¡A+°A+)Ú__doc__ÚnetworkxÚnxÚ__all__Ú_dispatchabler   © ó    r	   ú<module>r      s/   ðÙ 8ã àÐ
€ð ×ÑñDó ñDr   