Exemple #1
0
 def addvertex(self, x, y):
     v = PriorityQueue.Vertex(x, y)
     self.vtable.append(v)
     v.index = len(self.vtable) - 1
     self.adjlist.append([])