Пример #1
0
    def benchmarkFactory(self, name):
        r"""Create optimization task.

		Args:
			name (str): Benchmark name.

		Returns:
			Task: Optimization task to use.
		"""
        return util.Task(D=self.D,
                         nFES=self.nFES,
                         nGEN=self.nGEN,
                         optType=util.OptimizationType.MINIMIZATION,
                         benchmark=name)
Пример #2
0
	def benchmarkFactory(self, name): return util.Task(D=self.D, nFES=self.nFES, nGEN=self.nGEN, optType=util.OptimizationType.MINIMIZATION, benchmark=name)

	def algorithmFactory(self, name):