+
    �°³jœ	  ã                   óN   € ^ RI Ht ^ RItR.t]P
                  RR l4       tR tR# )é    )ÚdefaultdictNÚk_clique_communitiesc              #  ó°  "  € V^8  d   \         P                  ! RV R24      hVf   \         P                  ! V 4      pV Uu. uF   p\        V4      V8¼  g   K  \	        V4      NK"  	  pp\        \        4      pV F#  pV F  pWF,          P                  V4       K  	  K%  	  \         P                  ! 4       pVP                  V4       V FN  p\        WT4       F<  p\        VP                  V4      4      V^,
          8¼  g   K+  VP                  WX4       K>  	  KP  	  \         P                  ! V4       F  p	\        P                  ! V	!  x € K  	  R# u upi 5i)uÄ  Find k-clique communities in graph using the percolation method.

A k-clique community is the union of all cliques of size k that
can be reached through adjacent (sharing k-1 nodes) k-cliques.

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

k : int
   Size of smallest clique

cliques: list or generator
   Precomputed cliques (use networkx.find_cliques(G))

Returns
-------
Yields sets of nodes, one for each k-clique community.

Examples
--------
>>> G = nx.complete_graph(5)
>>> K5 = nx.convert_node_labels_to_integers(G, first_label=2)
>>> G.add_edges_from(K5.edges())
>>> c = list(nx.community.k_clique_communities(G, 4))
>>> sorted(list(c[0]))
[0, 1, 2, 3, 4, 5, 6]
>>> list(nx.community.k_clique_communities(G, 6))
[]

References
----------
.. [1] Gergely Palla, Imre DerÃ©nyi, IllÃ©s Farkas1, and TamÃ¡s Vicsek,
   Uncovering the overlapping community structure of complex networks
   in nature and society Nature 435, 814-818, 2005,
   doi:10.1038/nature03607
zk=z, k must be greater than 1.N)ÚnxÚNetworkXErrorÚfind_cliquesÚlenÚ	frozensetr   ÚlistÚappendÚGraphÚadd_nodes_fromÚ_get_adjacent_cliquesÚintersectionÚadd_edgeÚconnected_componentsÚunion)
ÚGÚkÚcliquesÚcÚmembership_dictÚcliqueÚnodeÚ
perc_graphÚ
adj_cliqueÚ	components
   &&&       Úf/home/luca/screen-checking/.venv/lib/python3.14/site-packages/networkx/algorithms/community/kclique.pyr   r      s  é € ðN 	ˆ1„uÜ×Ò  A 3Ð&AÐBÓCÐCØ‚Ü—/’/ !Ó$ˆÙ%,Ó<¡W ´°A³¸!±Œ|Œy˜Ž|¡W€GÐ<ô "¤$Ó'€OÛˆÛˆDØÕ!×(Ñ(¨Ö0ó ñ ô
 —’“€JØ×Ñ˜gÔ&ÛˆÜ/°ÖHˆJÜ�6×&Ñ& zÓ2Ó3¸¸A½Ö>Ø×#Ñ# FÖ7ó Iñ ô ×,Ò,¨ZÖ8ˆ	Ü�Š 	Ñ*Ô+ó 9ùò% =ùs    ‚A EÁEÁEÁ(BEÄAEc                 ó|   € \        4       pV  F+  pW,           F  pW8w  g   K  VP                  V4       K  	  K-  	  V# ©N)ÚsetÚadd)r   r   Úadjacent_cliquesÚnr   s   &&   r   r   r   I   s@   € Ü“uÐÛˆØ)×,Ð,ˆJØÖ#Ø ×$Ñ$ ZÖ0ó -ñ ð Ðó    r    )Úcollectionsr   Únetworkxr   Ú__all__Ú_dispatchabler   r   © r%   r   Ú<module>r+      s3   ðÝ #ã à!Ð
"€ð ×Ñó=,ó ð=,ô@r%   