‹“Reเใ@sGdd„deƒZdS)c@sฆeZdZdZdd„Zdd„Zdd„Zdd „Zd d „Zd d „Z dd„Z dd„Z dd„Z dd„Z dd„Zdd„ZdS)ฺ DirectedGraphz+A graph structure with directed edges. cCs"tƒ|_i|_i|_dS)N)ฺsetฺ _verticesฺ _forwardsฺ _backwards)ฺselfฉr๚/builddir/build/BUILDROOT/alt-python35-pip-20.2.4-5.el8.x86_64/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/resolvelib/structs.pyฺ__init__s  zDirectedGraph.__init__cCs t|jƒS)N)ฺiterr)rrrrฺ__iter__ szDirectedGraph.__iter__cCs t|jƒS)N)ฺlenr)rrrrฺ__len__ szDirectedGraph.__len__cCs ||jkS)N)r)rฺkeyrrrฺ __contains__szDirectedGraph.__contains__cCs]tƒ}t|jƒ|_dd„|jjƒDƒ|_dd„|jjƒDƒ|_|S)z-Return a shallow copy of this graph. cSs%i|]\}}t|ƒ|“qSr)r)ฺ.0ฺkฺvrrr๚ s z&DirectedGraph.copy..cSs%i|]\}}t|ƒ|“qSr)r)rrrrrrrs )rrrrฺitemsr)rฺotherrrrฺcopys  zDirectedGraph.copycCsO||jkrtdƒ‚|jj|ƒtƒ|j|s