<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>
σ
οRec           @   s   d  e  f d     YZ d S(   t   DirectedGraphc           B   sz   e  Z d  Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z	 d   Z
 d	   Z d
   Z d   Z d   Z RS(   s+   A graph structure with directed edges.
    c         C   s"   t    |  _ i  |  _ i  |  _ d  S(   N(   t   sett	   _verticest	   _forwardst
   _backwards(   t   self(    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/resolvelib/structs.pyt   __init__   s    	c         C   s   t  |  j  S(   N(   t   iterR   (   R   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/resolvelib/structs.pyt   __iter__
   s    c         C   s   t  |  j  S(   N(   t   lenR   (   R   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/resolvelib/structs.pyt   __len__   s    c         C   s   | |  j  k S(   N(   R   (   R   t   key(    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/resolvelib/structs.pyt   __contains__   s    c         C   sW   t    } t |  j  | _ d   |  j j   D | _ d   |  j j   D | _ | S(   s-   Return a shallow copy of this graph.
        c         S   s%   i  |  ] \ } } t  |  |  q S(    (   R   (   t   .0t   kt   v(    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/resolvelib/structs.pys
   <dictcomp>   s   	 c         S   s%   i  |  ] \ } } t  |  |  q S(    (   R   (   R   R   R   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/resolvelib/structs.pys
   <dictcomp>   s   	 (   R    R   R   R   t   itemsR   (   R   t   other(    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/resolvelib/structs.pyt   copy   s
    	c         C   sR   | |  j  k r t d   n  |  j  j |  t   |  j | <t   |  j | <d S(   s'   Add a new vertex to the graph.
        s   vertex existsN(   R   t
   ValueErrort   addR   R   R   (   R   R   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/resolvelib/structs.pyR      s
    c         C   sv   |  j  j |  x. |  j j |  D] } |  j | j |  q# Wx. |  j j |  D] } |  j | j |  qT Wd S(   sL   Remove a vertex from the graph, disconnecting all edges from/to it.
        N(   R   t   removeR   t   popR   (   R   R   t   ft   t(    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/resolvelib/structs.pyR   %   s
    c         C   s$   | |  j  | k o# | |  j | k S(   N(   R   R   (   R   R   R   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/resolvelib/structs.pyt	   connected.   s    c         C   sJ   | |  j  k r t |   n  |  j | j |  |  j | j |  d S(   sg   Connect two existing vertices.

        Nothing happens if the vertices are already connected.
        N(   R   t   KeyErrorR   R   R   (   R   R   R   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/resolvelib/structs.pyt   connect1   s    c         c   s@   x9 |  j  j   D]( \ } } x | D] } | | f Vq# Wq Wd  S(   N(   R   R   (   R   R   t   childrenR   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/resolvelib/structs.pyt
   iter_edges;   s    c         C   s   t  |  j |  S(   N(   R   R   (   R   R   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/resolvelib/structs.pyt   iter_children@   s    c         C   s   t  |  j |  S(   N(   R   R   (   R   R   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/resolvelib/structs.pyt   iter_parentsC   s    (   t   __name__t
   __module__t   __doc__R   R   R
   R   R   R   R   R   R   R   R   R   (    (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/resolvelib/structs.pyR       s   												
		N(   t   objectR    (    (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/resolvelib/structs.pyt   <module>   t    