; 4Gc@sdkTdfdYZdfdYZdefdYZdfdYZd efd YZd fd YZd efdYZdfdYZ dfdYZ dfdYZ dS((s*sPoint2DcBstZdZeedZRS(sw Simple Wrapper class for a point in 2D-space. Used for Graph Embeddings. Use: Point2D([x,y]) or Point2D(x,y) cCsd|tjoA|tjod|_d|_qN|d|_|d|_n||_||_dS(Nii(sysNonesxsself(sselfsxsy((s;/mnt/gmirror/ports/math/py-gato/work/Gato/DataStructures.pys__init__4s      (s__name__s __module__s__doc__sNones__init__(((s;/mnt/gmirror/ports/math/py-gato/work/Gato/DataStructures.pysPoint2D1s sVertexLabelingcBs;tZdZdZdZdZdZdZRS(s Simple Wrapper class for any mapping of vertices to values. E.g., - strings (for labels) - Point2D (for embeddings) cCs h|_dS(N(sselfslabel(sself((s;/mnt/gmirror/ports/math/py-gato/work/Gato/DataStructures.pys__init__MscCs||i|tZdZdZdZdZdZdZRS(NcCsg|_dSdS(N(sselfsmembers(sself((s;/mnt/gmirror/ports/math/py-gato/work/Gato/DataStructures.pys__init__zs cCs|i|SdS(N(sselfsmembersskey(sselfskey((s;/mnt/gmirror/ports/math/py-gato/work/Gato/DataStructures.pys __getitem__~scCs|ii|dSdS(N(sselfsmemberssappendse(sselfse((s;/mnt/gmirror/ports/math/py-gato/work/Gato/DataStructures.pysAddscCs*y|ii|Wn tnXdSdS(N(sselfsmemberssremovesesNone(sselfse((s;/mnt/gmirror/ports/math/py-gato/work/Gato/DataStructures.pysDeletes cCst|idjSdS(Ni(slensselfsmembers(sself((s;/mnt/gmirror/ports/math/py-gato/work/Gato/DataStructures.pys IsNotEmptyscCs||ijSdS(N(sesselfsmembers(sselfse((s;/mnt/gmirror/ports/math/py-gato/work/Gato/DataStructures.pysContainss(s__name__s __module__s__init__s __getitem__sAddsDeletes IsNotEmptysContains(((s;/mnt/gmirror/ports/math/py-gato/work/Gato/DataStructures.pysSetys      N( s GatoGlobalssPoint2DsVertexLabelings VertexWeights EdgeLabelings EdgeWeightsQueuesdictsPQImplementations PriorityQueuesStacksSet( s PriorityQueuesVertexLabelingsSetsPQImplementations EdgeLabelings VertexWeightsQueues EdgeWeightsStacksPoint2D((s;/mnt/gmirror/ports/math/py-gato/work/Gato/DataStructures.pys?(s 5$J'