Exemplo n.º 1
0
 def _init(self, maxsize):
     PriorityQueue._init(self, maxsize)
     self.values = set()
Exemplo n.º 2
0
 def _init(self, maxsize):
     PriorityQueue._init(self, maxsize)
     self._counter = 0
Exemplo n.º 3
0
 def _init(self, maxsize):
     '''This is meant to take in tuples of
     (-quality, locInd, iniDpY, iniDpX, region)'''
     PriorityQueue._init(self, maxsize)
     self.locations = []
     self.itemsInQueue = []
Exemplo n.º 4
0
 def _init(self, maxsize):
     PriorityQueue._init(self, maxsize)
     self.values = set()
 def _init(self, maxsize):
     '''This is meant to take in tuples of
     (-quality, locInd, iniDpY, iniDpX, region)'''
     PriorityQueue._init(self, maxsize)
     self.locations = []
     self.itemsInQueue = []