+
    �°³jË  ã                   ó†   € R t ^ RIt. ROt]P                  R 4       t]P                  R 4       t]P                  R 4       tR# )z8
Functions for identifying isolate (degree zero) nodes.
Nc                ó*   € V P                  V4      ^ 8H  # )aÕ  Determines whether a node is an isolate.

An *isolate* is a node with no neighbors (that is, with degree
zero). For directed graphs, this means no in-neighbors and no
out-neighbors.

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

n : node
    A node in `G`.

Returns
-------
is_isolate : bool
   True if and only if `n` has no neighbors.

Examples
--------
>>> G = nx.Graph()
>>> G.add_edge(1, 2)
>>> G.add_node(3)
>>> nx.is_isolate(G, 2)
False
>>> nx.is_isolate(G, 3)
True
©Údegree)ÚGÚns   &&Ú\/home/luca/screen-checking/.venv/lib/python3.14/site-packages/networkx/algorithms/isolate.pyÚ
is_isolater   
   s   € ð< �8‰8�A‹;˜!ÑÐó    c                ó0   € R V P                  4        4       # )a&  Iterator over isolates in the graph.

An *isolate* is a node with no neighbors (that is, with degree
zero). For directed graphs, this means no in-neighbors and no
out-neighbors.

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

Returns
-------
iterator
    An iterator over the isolates of `G`.

Examples
--------
To get a list of all isolates of a graph, use the :class:`list`
constructor:

>>> G = nx.Graph()
>>> G.add_edge(1, 2)
>>> G.add_node(3)
>>> list(nx.isolates(G))
[3]

To remove all isolates in the graph, first create a list of the
isolates, then use :meth:`Graph.remove_nodes_from`:

>>> G.remove_nodes_from(list(nx.isolates(G)))
>>> list(G)
[1, 2]

For digraphs, isolates have zero in-degree and zero out_degree:

>>> G = nx.DiGraph([(0, 1), (1, 2)])
>>> G.add_node(3)
>>> list(nx.isolates(G))
[3]

c              3   ó<   "  € T F  w  rV^ 8X  g   K  Vx € K  	  R# 5i)é    N© )Ú.0r   Úds   &  r   Ú	<genexpr>Úisolates.<locals>.<genexpr>V   s   é € Ð/™*‘$�!¨¨Q©�AŠA›*ùs   ‚’
r   ©r   s   &r   Úisolatesr   +   s   € ñV 0˜!Ÿ(™(œ*Ó/Ð/r	   c                ó8   € \        R \        V 4       4       4      # )a0  Returns the number of isolates in the graph.

An *isolate* is a node with no neighbors (that is, with degree
zero). For directed graphs, this means no in-neighbors and no
out-neighbors.

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

Returns
-------
int
    The number of degree zero nodes in the graph `G`.

c              3   ó&   "  € T F  p^x € K	  	  R# 5i)é   Nr   )r   Úvs   & r   r   Ú%number_of_isolates.<locals>.<genexpr>k   s   é € Ð&™+�Q�q›+ùs   ‚)Úsumr   r   s   &r   Únumber_of_isolatesr   Y   s   € ô$ Ñ&œ( 1œ+Ó&Ó&Ð&r	   )r   r   r   )Ú__doc__ÚnetworkxÚnxÚ__all__Ú_dispatchabler   r   r   r   r	   r   Ú<module>r       sd   ðñó â
:€ð ×Ññó ðð@ ×Ññ*0ó ð*0ðZ ×Ññ'ó ò'r	   