ó ;œPc@sœddd„ƒYZddd„ƒYZddd„ƒYZddd„ƒYZdefd „ƒYZd „Zd „Zd „Zd „Zd„Z d„Z dS(tGraphcBs,eZd„Zd„Zd„Zd„ZRS(cCs||_||_dS(N(tobjectstarrows(tselfRR((s@/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/Cat.pyt__init__s cCs|j|dS(Ni(R(Rtx((s@/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/Cat.pytsourcescCs|j|dS(Ni(R(RR((s@/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/Cat.pyttarget scCsY|j}tg|jjƒD]$\}\}}|||ff^qƒ}|j||ƒS(N(RtdictRtitemst __class__(RRtarrowtsrcttgtR((s@/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/Cat.pytget_duals @(t__name__t __module__RRRR(((s@/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/Cat.pyRs   tCatcBseZd„Zd„ZRS(cCs||_||_dS(N(tgrapht relations(RRR((s@/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/Cat.pyRs cCs.|jjƒ}t|jƒ}|j||ƒS(N(RRtdual_relationsRR (RRR((s@/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/Cat.pyRs(RRRR(((s@/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/Cat.pyRs tFunctorcBseZddd„ZRS(cCs4t|ƒ|_t|ƒ|_||_||_dS(N(tadapt_functiontfotfaR R (RRRR R ((s@/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/Cat.pyR%s N(RRtNoneR(((s@/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/Cat.pyR$stFunctioncBs>eZd„Zd„Zd„Zd„Zd„Zd„ZRS(cCset|ddƒ}t|ƒr!n|}t|ƒs?td‚n||_|_||_||_dS(Nt __getitem__s.Function: map is neither callable or indexable(tgetattrRtcallablet TypeErrorRt__call__R R (RtmapR R tf((s@/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/Cat.pyR,s    cCs d|j|j|j|jfS(Ns%s(%s, %s, %s)(R R R R(R((s@/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/Cat.pyt__str__8scCs*tg|jD]}|||f^q ƒS(N(RR (RR((s@/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/Cat.pytasdict;scCs$g|jD]}|||f^q S(N(R (RR((s@/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/Cat.pyR >scCs t|jƒS(N(tlistR (R((s@/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/Cat.pytkeysAscCs#g|jƒD]\}}|^q S(N(R (Rtktv((s@/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/Cat.pytvaluesDs(RRRR"R#R R%R((((s@/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/Cat.pyR+s     tIdentitycBseZd„ZRS(cCstjd„||ƒdS(NcSs|S(N((R((s@/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/Cat.pytJs(RR(RR ((s@/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/Cat.pyRIs(RRR(((s@/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/Cat.pyR)HscCs‰|j}xy|jD]n}|j|ƒ|krMtd||j|ƒf‚n|j|ƒ|krtd||j|ƒf‚qqWdS(Ns+Arrow %r has source %r not in graph objectss+Arrow %r has target %r not in graph objects(RRRt ValueErrorR(tGtGobta((s@/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/Cat.pyt check_graphLs  c Csæg}x.|D]&\}}|j|ƒ|j|ƒq Wx¨|D] }d}x‘|D]‰}||jkrytd|f‚n|dk rÔ|j|ƒ|j|ƒkrÔtd||j|ƒ||j|ƒf‚qÔn|}qQWq>WdS(Ns.Arrow %r, used in a rule, is not a valid arrows>Source of arrow %r (%r) does not match target of arrow %r (%r)(tappendRRR+RR(tRR,tcomstlefttrighttcomta0R.((s@/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/Cat.pyt check_rulesWs    +cCs$t|jƒt|j|jƒdS(N(R/RR7R(tC((s@/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/Cat.pyt check_catls cCstt||ƒ|ƒS(N(RR(RRR((s@/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/Cat.pytoarcatqscCs^t|tƒsZt|tƒr9|jƒ}|jƒ}n d}d}t|||ƒ}n|S(N(t isinstanceRRR%R(R(R!R R ((s@/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/Cat.pyRts cCslg}x_|D]W\}}t|ƒ}t|ƒ}|jƒ|jƒ|jt|ƒt|ƒfƒq W|S(N(R$treverseR0ttuple(RtdualR.tb((s@/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/Cat.pyRs    #N((((( RRRRR)R/R7R9R:RR(((s@/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/Cat.pyts