+
    �°³jƒ  ã                   ó.   € R t ^ RIt^ RIt ! R R4      tR# )z@Unit tests for the :mod:`networkx.generators.stochastic` module.Nc                   óN   a € ] tR t^t o RtR tR tR tR tR t	R t
R tR	tV tR
# )ÚTestStochasticGraphz?Unit tests for the :func:`~networkx.stochastic_graph` function.c                ó<  € \         P                  ! 4       pVP                  ^ ^4       VP                  ^ ^4       \         P                  ! V4      p\         P                  ! W4      '       g   Q h\        VP                  RR7      4      ^ ^RR/3^ ^RR/3.8X  g   Q hR# )é    T©ÚdataÚweightç      à?N)ÚnxÚDiGraphÚadd_edgeÚstochastic_graphÚis_isomorphicÚsortedÚedges©ÚselfÚGÚSs   &  Új/home/luca/screen-checking/.venv/lib/python3.14/site-packages/networkx/generators/tests/test_stochastic.pyÚtest_default_weightsÚ(TestStochasticGraph.test_default_weights   s“   € Ü�JŠJ‹LˆØ	�
‰
�1�aÔØ	�
‰
�1�aÔÜ×Ò Ó"ˆÜ×Ò ×%Ò%Ð%Ð%Ü�a—g‘g 4�gÓ(Ó)Ø��H˜c�?Ð#Ø��H˜c�?Ð#ð.
ô 
ð 	
ò 
ó    c                ó  € \         P                  ! 4       pVP                  ^ ^^R7       VP                  ^ ^^R7       \         P                  ! VRR7       \	        VP                  RR7      4      ^ ^RR/3^ ^RR/3.8X  g   Q hR# )	z<Tests for an in-place reweighting of the edges of the graph.©r   F)ÚcopyTr   r   r	   N©r
   r   r   r   r   r   )r   r   s   & r   Útest_in_placeÚ!TestStochasticGraph.test_in_place   s„   € ä�JŠJ‹LˆØ	�
‰
�1�a ˆ
Ô"Ø	�
‰
�1�a ˆ
Ô"Ü
×Ò˜A EÕ*Ü�a—g‘g 4�gÓ(Ó)Ø��H˜c�?Ð#Ø��H˜c�?Ð#ð.
ô 
ð 	
ò 
r   c                ó  € \         P                  ! 4       pVP                  ^ ^^R7       VP                  ^ ^^R7       \         P                  ! V4      p\	        VP                  RR7      4      ^ ^RR/3^ ^RR/3.8X  g   Q hR# )r   r   Tr   r   r	   Nr   r   s   &  r   Útest_arbitrary_weightsÚ*TestStochasticGraph.test_arbitrary_weights!   s„   € Ü�JŠJ‹LˆØ	�
‰
�1�a ˆ
Ô"Ø	�
‰
�1�a ˆ
Ô"Ü×Ò Ó"ˆÜ�a—g‘g 4�gÓ(Ó)Ø��H˜c�?Ð#Ø��H˜c�?Ð#ð.
ô 
ð 	
ò 
r   c                óî   € \         P                  ! 4       pVP                  . RO4       \         P                  ! V4      pRR/p\	        VP                  RR7      4      ^ ^V3^ ^V3^ ^V3^ ^V3.8X  g   Q hR# )r   r   g      Ð?Tr   N)©r   é   r#   ©r   é   r%   )r
   ÚMultiDiGraphÚadd_edges_fromr   r   r   )r   r   r   Úds   &   r   Útest_multidigraphÚ%TestStochasticGraph.test_multidigraph+   s‚   € Ü�OŠOÓˆØ	×ÑÒ9Ô:Ü×Ò Ó"ˆØ�tÐˆÜ�a—g‘g 4�gÓ(Ó)Ø��1ˆIØ��1ˆIØ��1ˆIØ��1ˆIð	.
ô 
ð 	
ò 
r   c                ó  € \         P                  ! 4       pVP                  ^ ^^ R7       VP                  ^ ^^ R7       \         P                  ! V4      p\	        VP                  RR7      4      ^ ^R^ /3^ ^R^ /3.8X  g   Q hR# )z3Smoke test: ensure ZeroDivisionError is not raised.r   Tr   r   Nr   r   s   &  r   Útest_zero_weightsÚ%TestStochasticGraph.test_zero_weights7   s„   € ä�JŠJ‹LˆØ	�
‰
�1�a ˆ
Ô"Ø	�
‰
�1�a ˆ
Ô"Ü×Ò Ó"ˆÜ�a—g‘g 4�gÓ(Ó)Ø��H˜a�=Ð!Ø��H˜a�=Ð!ð.
ô 
ð 	
ò 
r   c                óê   € \         P                  ! \        P                  4      ;_uu_ 4        \        P                  ! \        P
                  ! 4       4       R R R 4       R #   + '       g   i     R # ; i©N)ÚpytestÚraisesr
   ÚNetworkXNotImplementedr   ÚGraph©r   s   &r   Útest_graph_disallowedÚ)TestStochasticGraph.test_graph_disallowedB   s:   € Ü�]Š]œ2×4Ñ4×5Õ5Ü×Ò¤§¢£
Ô+÷ 6×5×5Ò5úó   ­*A!Á!A2	c                óê   € \         P                  ! \        P                  4      ;_uu_ 4        \        P                  ! \        P
                  ! 4       4       R R R 4       R #   + '       g   i     R # ; ir0   )r1   r2   r
   r3   r   Ú
MultiGraphr5   s   &r   Útest_multigraph_disallowedÚ.TestStochasticGraph.test_multigraph_disallowedF   s:   € Ü�]Š]œ2×4Ñ4×5Õ5Ü×Ò¤§¢£Ô0÷ 6×5×5Ò5úr8   © N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r   r    r*   r-   r6   r;   Ú__static_attributes__Ú__classdictcell__)Ú__classdict__s   @r   r   r      s0   ø‡ € ÙIò	
ò	
ò
ò

ò	
ò,÷1ð 1r   r   )rB   r1   Únetworkxr
   r   r=   r   r   Ú<module>rG      s   ðÙ Fã ã ÷@1ó @1r   