+
    �°³je!  ã                   óR  € ^ RI t ^ RIt^ RIt^ RIHt ^ RIHt ]P                  ! R4      t	^ s
]	P                   P                  ^*4       ]	P                   P                  4       t] P                  ! ^*4       ] P                   ! 4       tR tR t]P"                  P$                  R 4       tR# )é    N)Úapproximation)Ú	thresholdÚnumpyc                óX  € \         ^,          s \        \         RRR7       V ! V/ VB  \        P                  P	                  4       p\
        V8X  g   Q h\        P                  P                  ^*4       \        P                  ! 4       p\        V8X  g   Q h\        P                  ! ^*4       R# )z1call one function and check if global RNG changedÚ,Ú )ÚendN)ÚprogressÚprintÚnpÚrandomÚrandÚnp_rvÚseedÚpy_rv)ÚfÚargsÚkwdsÚafter_np_rvÚafter_py_rvs   &*,  Úi/home/luca/screen-checking/.venv/lib/python3.14/site-packages/networkx/tests/test_all_random_functions.pyÚtr      s|   € ô �…M€HÜ	Œ(�C˜RÕ á€tÐˆtÒä—)‘)—.‘.Ó"€Kô �KÔÐÐÜ‡I�I‡N�N�2Ôä—-’-“/€Kô �KÔÐÐÜ
‡K‚K�†Oó    c                 óä  a € ^p^
p^;r4^
;rVR;p;p;p	;p
;r¼R;p;rïRp. ROp\         P                  ! ^^4      p\         P                  ! ^4      pVP                  R VP                   4       4       . ROpT;p;p;p;pp\        \         P                  VS R7       \        \         P                  VS RR7       \        \         P                  VS R7       \        \         P                  VS R7       \        \         P                  V^^S R7       \        \         P                  V^^S R7       \        \         P                  VS R7       \        \         P                  \         P                  ! ^	4      S R7       \        \         P                  VS R7       \        \         P                   VS R7       \        \         P"                  VS R7       \        \         P$                  VS R7       \        \         P&                  VS R7       \        \(        P*                  VS R7       \        \(        P,                  VR^S R7       \        \(        P.                  VR^S R7       \        \(        P0                  VV 3R	 lR
7       \        \(        P0                  VV 3R lR
7       \        \         P2                  VS R7       \        \         P4                  VS R7       \        \         P6                  VS R7       \        \         P8                  P:                  P<                  VS R7       \        \         P8                  P>                  P@                  VS R7       \        \         PB                  VVS R7       \        \         P8                  P:                  PD                  VV^S R7       \        \         P8                  PF                  PH                  PJ                  VVS R7       \        \         P8                  PL                  PN                  VVS R7       \        \         PP                  VS R7       \        \         PR                  VVS R7       \        \         PT                  VS R7       \        \         PV                  VS R7       ^^^/^^^^^^^/^^^^^/^^^^^^^//p\        \         PX                  VS R7       . ROp\        \         PZ                  VS R7       RR.p\        \         P\                  VS R7       ^R^R^R/p\        \         P^                  P`                  VVS R7       \        \         P^                  Pb                  VS R7       \        \         P8                  Pd                  PP                  VVS R7       \        \         P8                  Pd                  Pf                  VVS R7       R p\        \         Ph                  VVS R7       . ROp. R O. R!O. R"O.p\        \         Pj                  VVS R7       \        \         Pl                  VW¼S R7       \        \n        Pp                  WS R7       \        \         Pr                  Pt                  VS R7       \        \         Pv                  WCVS R7       \        \         Px                  WCW¼S R7       \        \         Pz                  WWkVS R7       \        \         P|                  VS R7       \        \         P~                  WS R7       \        \         P€                  VS R7       \        \         P‚                  VS R7       \        \         P„                  P†                  WS R7       \        \         Pˆ                  WVS R7       Rp \        \         PŠ                  V WVS R7       \        \         PŒ                  WS R7       \        \         PŽ                  WS R7       \        \         P�                  WS R7       \        \         P’                  WS R7       \        \         P”                  VS R7       \        \         P–                  VS R7       \        \         P˜                  WVS R7       \        \         Pš                  WVS R7       \        \         Pœ                  WVS R7       \        \         Pž                  V^RR.S R7       \        \         P                   WS R7       \        \         P¢                  WS R7       \        \         P¤                  WS R7       \        \         P¦                  WS R7       \        \         P¨                  WVS R7       \        \         Pª                  WVS R7       \        \         P¬                  WVS R7       \        \         P®                  ^VS R7       \        \         P°                  WS R7       \        \         P²                  WWxS R7       \        \         P´                  WVS R7       \        \         P¶                  WV
S R7       \        \         P¸                  ^S RR7       \        \         Pº                  ^S RR7       \        \         P¼                  VS R7       \        \         P^                  P¾                  VS R7       \        \         P^                  PÀ                  RS R7       . R#Op!\        \         P^                  PÂ                  VV!S R7       \        \         P8                  Pd                  PÄ                  WVS R7       \        \         P8                  Pd                  PÆ                  WVS R7       \         PÈ                  PÊ                  p"\        V"^^RR^^
S ^R7	       \        \         PÌ                  VS R7       R# )$é   çš™™™™™Ù?g      è?c              3   ó.   "  € T F  w  rWR 3x € K  	  R# 5i)çš™™™™™É?N© )Ú.0ÚuÚvs   &  r   Ú	<genexpr>Ú+run_all_random_functions.<locals>.<genexpr>4   s   é € Ð>±g©d¨a˜q S�k³gùs   ‚©r   F)r   Ú
normalizedÚgreedy)Úsourcer   c                 ó8   <€ \         P                  ! V R VSR7      # ©r'   r%   )ÚapproxÚsimulated_annealing_tsp©ÚGÚweightr   s   &&€r   Ú<lambda>Ú*run_all_random_functions.<locals>.<lambda>P   ó   ø€ ¤×!?Ò!?Øˆx˜ dõ"
r   )Úmethodc                 ó8   <€ \         P                  ! V R VSR7      # r*   )r+   Úthreshold_accepting_tspr-   s   &&€r   r0   r1   W   r2   r   )Úmax_iterr   ç      à?g333333Ó?c                 ó   € W!,
          # )Nr   )r!   ÚwÚzs   &&&r   Úkernel_integralÚ1run_all_random_functions.<locals>.kernel_integral‘   s	   € Ø�uˆr   iè  gš™™™™™¹?iˆ  )r   Útriesgffffff@)Úcdistributionr   g      ø?)Úaverage_degreeÚmin_communityr   Úmax_communityN)r   r   é
   )é   é   é   )rE   rD   rC   rE   rD   rC   rE   rD   rC   rD   rC   rD   rC   )©rC   r   rF   rF   )rD   r   rF   )rD   rC   ©r   rC   rG   )rE   rE   r7   )rB   rB   çffffffæ?)éK   rI   i,  )g      Ð?çš™™™™™©?ç{®Gáz”?)rJ   gffffffÖ?çìQ¸…ë±?)rK   rL   r   )r   r   r7   rH   gÍÌÌÌÌÌì?g      ð?)gÚnxÚbarbell_graphÚcycle_graphÚadd_weighted_edges_fromÚedgesr   Úmaximal_independent_setÚrich_club_coefficientÚrandom_referenceÚlattice_referenceÚsigmaÚomegaÚdouble_edge_swapÚconnected_double_edge_swapÚcomplete_graphÚrandom_layoutÚfruchterman_reingold_layoutÚalgebraic_connectivityÚfiedler_vectorÚspectral_orderingr+   Úaverage_clusteringr,   r5   Útraveling_salesman_problemÚbetweenness_centralityÚedge_betweenness_centralityÚ/approximate_current_flow_betweenness_centralityÚ
algorithmsÚ	communityÚkernighan_lin_bisectionÚtreeÚgreedy_branchingÚspectral_graph_forgeÚasyn_fluidcÚconnectivityÚedge_augmentationÚgreedy_k_edge_augmentationÚcoloringÚstrategy_random_sequentialÚconfiguration_modelÚdirected_configuration_modelÚexpected_degree_graphÚrandom_degree_sequence_graphÚjoint_degree_graphÚrandom_clustered_graphÚrandom_shell_graphÚutilsÚrandom_weighted_sampleÚweighted_choiceÚ	bipartiteÚpreferential_attachment_graphÚrandom_kernel_graphÚstochastic_block_modelÚrandom_partition_graphr   Úrandom_threshold_sequenceÚ
tournamentÚrandom_tournamentÚrelaxed_caveman_graphÚplanted_partition_graphÚgaussian_random_partition_graphÚgn_graphÚ	gnr_graphÚ	gnc_graphÚscale_free_graphÚdirectedÚrandom_uniform_k_out_graphÚrandom_k_out_graphÚpartial_duplication_graphÚduplication_divergence_graphÚrandom_geometric_graphÚsoft_random_geometric_graphÚgeographical_threshold_graphÚwaxman_graphÚnavigable_small_world_graphÚ"thresholded_random_geometric_graphÚ!uniform_random_intersection_graphÚk_random_intersection_graphÚ!general_random_intersection_graphÚfast_gnp_random_graphÚgnp_random_graphÚdense_gnm_random_graphÚgnm_random_graphÚnewman_watts_strogatz_graphÚwatts_strogatz_graphÚconnected_watts_strogatz_graphÚrandom_regular_graphÚbarabasi_albert_graphÚextended_barabasi_albert_graphÚpowerlaw_cluster_graphÚrandom_lobster_graphÚrandom_powerlaw_treeÚrandom_powerlaw_tree_sequenceÚrandom_labeled_treeÚpowerlaw_sequenceÚzipf_rvÚdiscrete_sequenceÚrandom_graphÚgnmk_random_graphÚ
generatorsÚLFR_benchmark_graphÚrandom_internet_as_graph)#r   ÚnÚmÚkÚlÚsr"   ÚpÚqÚp1Úp2Úp_inÚp_outÚalphaÚradiusÚthetaÚsizesÚcolorsr.   ÚHÚdeg_sequenceÚin_degree_sequencer9   ÚsequenceÚaseqÚbseqÚjoint_degreesÚjoint_degree_sequenceÚconstructorÚmappingr;   ÚprobsÚNÚcdistÚLFRs#   f                                  r   Úrun_all_random_functionsrÍ   )   sP  ø€ Ø
€AØ
€AØ€I€AØ€J€AØ%(Ð(€AÐ(ˆÐ(ˆBÐ(�Ð(�dØ!Ð!€EÐ!ˆFØ€EÚ€FÜ
×Ò˜˜RÓ €AÜ
�Š�qÓ€AØ×ÑÑ>°a·g²gÓ>Ô>Ú:€LØ6BÐBÐÐB˜ÐB˜XÐB¨¨tô „b× Ñ  !¨$Õ/Ü„b×Ñ ¨¸Õ?Ü„b×Ñ˜1 4Õ(Ü„b×Ñ˜A DÕ)Ü„b‡h�h��1�a˜dÕ#Ü„b‡h�h��1�a˜dÕ#ä„b×Ñ˜1 4Õ(ä„b×#Ñ#¤R×%6Ò%6°qÓ%9ÀÕEä„b×Ñ˜ Õ%Ü„b×$Ñ$ a¨dÕ3Ü„b×Ñ ¨Õ.Ü„b×Ñ˜ Õ&Ü„b×Ñ˜A DÕ)ä„f×Ñ ¨Õ.Ü„f×$Ñ$ a¨¸!À$ÕGÜ„f×$Ñ$ a¨¸!À$ÕGÜÜ×)Ñ)Ø	ô
õô Ü×)Ñ)Ø	ô
õô „b×Ñ ¨Õ.Ü„b×$Ñ$ a¨dÕ3Ü„b×8Ñ8¸!À$ÕGä„b‡m�m×Ñ×5Ñ5°q¸tÕDä„b‡m�m×Ñ×)Ñ)¨1°4Õ8ô „b×Ñ˜q %¨dÕ3Ü„b‡m�m×Ñ×)Ñ)¨1¨a¸!À$ÕGÜÜ
�‰×"Ñ"×4Ñ4×OÑOØ	Ø	Øõ	ô „b‡m�m×Ñ×7Ñ7¸¸FÈÕNä„b×Ñ˜l°Õ6ÜÜ
×'Ñ'ØØØõ	ô „b×Ñ ¨Õ-Ü„b×%Ñ% x°dÕ;à	ˆAˆqˆ6Ø	ˆAˆq�!�Q˜˜1ÐØ	ˆAˆq�!�Qˆ<Ø	ˆAˆq�!�Q˜˜1Ðð	€Mô „b×Ñ˜]°Õ6ò	Ðô „b×ÑÐ!6¸TÕBØ Ð.€KÜ„b×Ñ˜[¨tÕ4Ø�#�q˜#˜q #Ð&€GÜ„b‡h�h×%Ñ% w°¸Õ=Ü„b‡h�h×Ñ ¨dÕ3Ü„b‡m�m×Ñ×1Ñ1°4¸ÀDÕIÜ„b‡m�m×Ñ×;Ñ;¸TÀ1È4ÕPòô „b×Ñ˜a °tÕ<â€EÚÒ!3Ò5GÐH€EÜ„b×Ñ ¨°DÕ9Ü„b×Ñ ¨¸$Õ?ô „i×)Ñ)¨1°dÕ;Ü„b‡m�m×%Ñ% q¨tÕ4Ü„b×Ñ  a¨dÕ3Ü„b× Ñ  !¨¸$Õ?Ü„b×(Ñ(¨!°¸ÀTÕJÜ„b‡k�k�1˜4Õ Ü„b‡l�l�A˜tÕ$Ü„b‡l�l�A˜DÕ!Ü„b×Ñ˜1 4Õ(Ü„b‡k�k×,Ñ,¨a¸Õ>Ü„b×Ñ˜Q 5¨tÕ4Ø€AÜ„b×"Ñ" A q¨Q°TÕ:Ü„b×%Ñ% q°$Õ7Ü„b×Ñ °Õ6Ü„b×$Ñ$ a°dÕ;Ü„b×%Ñ% q°dÕ;Ü„b‡o�o�q˜tÕ$Ü„b×$Ñ$ a¨dÕ3Ü„b×+Ñ+¨Q¸ÀDÕIÜ„b×*Ñ*¨A°!¸$Õ?Ü„b×$Ñ$ a¨A°DÕ9ä„b×*Ñ*¨A¨q°3¸°*À4ÕHÜ„b×Ñ ¨4Õ0Ü„b×Ñ˜1 dÕ+Ü„b×Ñ ¨DÕ1Ü„b×Ñ˜1 dÕ+Ü„b×$Ñ$ a¨A°DÕ9Ü„b×Ñ˜q Q¨TÕ2Ü„b×'Ñ'¨¨q°tÕ<Ü„b×Ñ˜q !¨$Õ/Ü„b×Ñ ¨4Õ0Ü„b×'Ñ'¨¨q¸$Õ?Ü„b×Ñ  q¨tÕ4Ü„b×Ñ˜q b¨tÕ4Ü„b×Ñ˜q t°4Õ8Ü„b×&Ñ&¨°¸DÕAÜ„b×Ñ˜a dÕ+Ü„b‡h�h× Ñ  !¨$Õ/Ü„b‡h�h×Ñ˜ $Õ'Ú*€EÜ„b‡h�h× Ñ  !°5¸tÕDÜ„b‡m�m×Ñ×*Ñ*¨A°!¸$Õ?Ü„b‡m�m×Ñ×/Ñ/°°q¸tÕDÜ
�-‰-×
+Ñ
+€CÜØØ
Ø	ØØØØØØõ
ô „b×!Ñ! 1¨4×0r   c                  ót  € ^\         P                  P                  ^4      3 F’  p \         P                  P                  ^*4       \        P                  ! ^*4       \	        V 4       ^ s\         P                  P                  4       p\        V8X  g   Q h\        P                  ! 4       p\        V8X  d   K’  Q h	  R# )é   N)	r   r   ÚRandomStater   rÍ   r
   r   r   r   )r   r   r   s      r   Útest_rng_interfacerÑ   ß   s‡   € ð ”R—Y‘Y×*Ñ*¨2Ó.Ó/ˆÜ
�	‰	�‰�rÔÜ�Š�BŒÜ  Ô&Øˆô —i‘i—n‘nÓ&ˆô ˜Ô#Ð#Ð#Ü—m’m“oˆô ˜Ö#Ð#Ð#ó 0r   )r   ÚpytestÚnetworkxrM   Únetworkx.algorithmsr   r+   r   Úimportorskipr   r
   r   r   r   r   r   rÍ   ÚmarkÚslowrÑ   r   r   r   Ú<module>rØ      s‹   ðÛ ã ã Ý 7Ý )à×Ò˜Ó!€à€ð ‡	�	‡�ˆrÔ Ø
�	‰	�‰Ó€Ø ‡‚ˆB„Ø�Š‹€òò*l1ðl ‡�×Ññ$ó ò$r   