Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(4)  |  Derive(0)  |  Import(1)

        def listCond(c,a,b):
    return [cond(c[i],a[i],b[i]) for i in xrange(len(c))]
        


src/b/b/bbchop-HEAD/BBChop/source/dag.py   bbchop(Download)
 
 
from listUtils import listSub,prod,listComb,listCond
import persistentMemo
import cse
        loc=[set([i]) for i in xrange(N)]
        empty=[set() for i in xrange(N)]
        locE=listCond(self.linearEnd,loc,empty)
        locS=listCond(self.linearStart,loc,empty)
 
        self.multiUpto=self.unionUpto(locE)
        self.multiUpto=listCond(self.linearStart,self.multiUpto,empty)
 
        self.multiAfter=self.unionAfter(locS)
        self.multiAfter=listCond(self.linearEnd,self.multiAfter,empty)