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

All Samples(9)  |  Call(9)  |  Derive(0)  |  Import(0)

src/g/a/Gato-1.1.2/AnimatedDataStructures.py   Gato(Download)
    def Append(self,v):
        Queue.Append(self,v)
        self.Animator.SetVertexColor(v, self.ColorOn)
 
    def Top(self):

src/g/a/Gato-1.1.2/GraphUtil.py   Gato(Download)
    pred[root] = root
 
    Q.Append(root)
 
    while Q.IsNotEmpty():
                d[w] = d[v] + 1
                pred[w] = v
                Q.Append(w)
 
    return (d,pred)
 
            Q = Queue()
            Q.Append(root)
 
            while Q.IsNotEmpty():
                    if visited[w] == None:
                        visited[w] = 1
                        Q.Append(w)
                        component.append(w)
 
        if v not in dist:
            dist[v] = 0
            Q.Append(v)
            V.add(v)
 

src/g/a/Gato-1.1.2/Embedder.py   Gato(Download)
    childrenrange[root] = (0, 2 * pi)
 
    Q.Append(root)
 
    while Q.IsNotEmpty():
                    d[w] = d[v] + 1
                    #print (v,w), "angle = ", angle[w]," range = ", childrenrange[w]
                    Q.Append(w)
 
    return (d,pred,angle)