Ejemplo n.º 1
0
	def postSelection(self, pop, task, **kwargs):
		r"""Post selection operator.

		Args:
			pop (numpy.ndarray[Individual]): Current population.
			task (Task): Optimization task.

		Returns:
			numpy.ndarray[Individual]: New population.
		"""
		return DynNpDifferentialEvolution.postSelection(self, pop, task, **kwargs)
Ejemplo n.º 2
0
	def postSelection(self, X, task, xb, **kwargs):
		nX = DynNpDifferentialEvolution.postSelection(self, X, task)
		nX = DifferentialEvolutionMTS.postSelection(self, nX, task, xb)
		return nX