desdeo_emo.EAs.TournamentEA

Module Contents

Classes

TournamentEA

This class provides the basic structure for Evolutionary algorithms.

class desdeo_emo.EAs.TournamentEA.TournamentEA(problem, initial_population: desdeo_emo.population.Population.Population, n_gen_per_iter: int = 10, n_iterations: int = 10, tournament_size: int = 5, population_size: int = 500)[source]

Bases: desdeo_emo.EAs.BaseEA.BaseEA

This class provides the basic structure for Evolutionary algorithms.

start()[source]

Mimics the structure of the mcdm methods. Returns the request objects from self.retuests().

end()[source]

Conducts non-dominated sorting at the end of the evolution process :returns:

The first element is a 2-D array of the decision vectors of the non-dominated solutions.

The second element is a 2-D array of the corresponding objective values.

Return type:

tuple

_next_gen()[source]

Run one generation of decomposition based EA.

This method leaves method.params unchanged. Intended to be used by next_iteration.

Parameters:

population ("Population") – Population object

select() list[source]