def processDir(gridPoint, condPoint, self):
			fileNameBase = 'population' + str(int(gridPoint['randomSeeds'])) + '_gen'
			files = [ fileNameBase + '0.log', fileNameBase + '1.log' ]
			fitness = [ extractFitness(file) for file in files ]
			fullCond = ta.sumOfDicts(gridPoint, condPoint)

			self._recordEvolvabilityStats(fullCond, fitness)
			self._recordRandomSearchStats(fullCond, fitness)
示例#2
0
        def processDir(gridPoint, condPoint, self):
            fileNameBase = 'population' + str(int(
                gridPoint['randomSeeds'])) + '_gen'
            files = [fileNameBase + '0.log', fileNameBase + '1.log']
            fitness = [extractFitness(file) for file in files]
            fullCond = ta.sumOfDicts(gridPoint, condPoint)

            self._recordEvolvabilityStats(fullCond, fitness)
            self._recordRandomSearchStats(fullCond, fitness)
示例#3
0
	def __getitem__(self, i):
		super(ProductOfGrids, self).__getitem__(i)
		firstPoint = self.first[i // len(self.second)]
		secondPoint = self.second[i % len(self.second)]
		return sumOfDicts(firstPoint, secondPoint)
示例#4
0
	def __iter__(self):
		for firstPoint in self.first:
			for secondPoint in self.second:
				yield sumOfDicts(firstPoint, secondPoint)
示例#5
0
	def __getitem__(self, i):
		super(SumOfGrids, self).__getitem__(i)
		return sumOfDicts(self.first[i], self.second[i])
示例#6
0
	def __iter__(self):
		for firstPoint, secondPoint in izip(self.first, self.second):
			yield sumOfDicts(firstPoint, secondPoint)
示例#7
0
 def __getitem__(self, i):
     super(ProductOfGrids, self).__getitem__(i)
     firstPoint = self.first[i / len(self.second)]
     secondPoint = self.second[i % len(self.second)]
     return sumOfDicts(firstPoint, secondPoint)
示例#8
0
 def __iter__(self):
     for firstPoint in self.first:
         for secondPoint in self.second:
             yield sumOfDicts(firstPoint, secondPoint)
示例#9
0
 def __getitem__(self, i):
     super(SumOfGrids, self).__getitem__(i)
     return sumOfDicts(self.first[i], self.second[i])
示例#10
0
 def __iter__(self):
     for firstPoint, secondPoint in izip(self.first, self.second):
         yield sumOfDicts(firstPoint, secondPoint)