Ë
    D^(h  ã                   ó6   — d dl ZdgZej                  d„ «       Zy)é    NÚs_metricc                 óZ   ‡ — t        t        ˆ fd„‰ j                  «       D «       «      «      S )a[  Returns the s-metric [1]_ of graph.

    The s-metric is defined as the sum of the products ``deg(u) * deg(v)``
    for every edge ``(u, v)`` in `G`.

    Parameters
    ----------
    G : graph
        The graph used to compute the s-metric.

    Returns
    -------
    s : float
        The s-metric of the graph.

    References
    ----------
    .. [1] Lun Li, David Alderson, John C. Doyle, and Walter Willinger,
           Towards a Theory of Scale-Free Graphs:
           Definition, Properties, and  Implications (Extended Version), 2005.
           https://arxiv.org/abs/cond-mat/0501169
    c              3   ój   •K  — | ]*  \  }}‰j                  |«      ‰j                  |«      z  –— Œ, y ­w)N)Údegree)Ú.0ÚuÚvÚGs      €úY/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/networkx/algorithms/smetric.pyú	<genexpr>zs_metric.<locals>.<genexpr>   s*   øè ø€ ÒG±6°A°q�Q—X‘X˜a“[ 1§8¡8¨A£;Õ.ÑGùs   ƒ03)ÚfloatÚsumÚedges)r
   s   `r   r   r      s!   ø€ ô0 ”ÓG¸Q¿W¹W»YÔGÓGÓHÐHó    )ÚnetworkxÚnxÚ__all__Ú_dispatchabler   © r   r   ú<module>r      s+   ðÛ àˆ,€ð ×ÑñIó ñIr   