+
    )is                         R t ^ RIt^ RIHt ^ RIHt ^ RIH	t	 R.t
]	! R4      ]	! R4      ]P                  ! RR	7      RR
 l4       4       4       tR# )z"Functions related to graph covers.N)hopcroft_karp_matching)min_edge_cover)not_implemented_forr   directed
multigraphbipartite_min_edge_cover)namec                l    V P                  4       ^ 8X  d   \        4       # Vf   \        p\        WR7      # )a5  Returns a set of edges which constitutes
the minimum edge cover of the graph.

The smallest edge cover can be found in polynomial time by finding
a maximum matching and extending it greedily so that all nodes
are covered.

Parameters
----------
G : NetworkX graph
    An undirected bipartite graph.

matching_algorithm : function
    A function that returns a maximum cardinality matching in a
    given bipartite graph. The function must take one input, the
    graph ``G``, and return a dictionary mapping each node to its
    mate. If not specified,
    :func:`~networkx.algorithms.bipartite.matching.hopcroft_karp_matching`
    will be used. Other possibilities include
    :func:`~networkx.algorithms.bipartite.matching.eppstein_matching`,

Returns
-------
set
    A set of the edges in a minimum edge cover of the graph, given as
    pairs of nodes. It contains both the edges `(u, v)` and `(v, u)`
    for given nodes `u` and `v` among the edges of minimum edge cover.

Notes
-----
An edge cover of a graph is a set of edges such that every node of
the graph is incident to at least one edge of the set.
A minimum edge cover is an edge covering of smallest cardinality.

Due to its implementation, the worst-case running time of this algorithm
is bounded by the worst-case running time of the function
``matching_algorithm``.
)matching_algorithm)ordersetr   _min_edge_cover)Gr
   s   &&d/var/www/html/photoedit/myenv/lib/python3.14/site-packages/networkx/algorithms/bipartite/covering.pyr   r      s0    T 	wwyA~u!31DD    )N)__doc__networkxnx&networkx.algorithms.bipartite.matchingr   networkx.algorithms.coveringr   r   networkx.utilsr   __all___dispatchable r   r   <module>r      sX    (  I J .
 Z \"12+E 3 # !+Er   