pymead.optimization.pop_chrom.Population#

class Population(param_dict: dict, generation: int, parents: List[Chromosome], verbose: bool = True, skip_parent_assignment: bool = False)[source]#

Bases: object

__init__(param_dict: dict, generation: int, parents: List[Chromosome], verbose: bool = True, skip_parent_assignment: bool = False)[source]#

Methods

all_chromosomes_fitness_converged()

eval_chromosome_fitness(chromosome)

Evaluates the fitness of a particular chromosome

eval_pop_fitness([sig])

Evaluates the fitness of the population using parallel processing

generate_chromosome(chromosome)

generate_chromosomes_parallel()

eval_chromosome_fitness(chromosome: Chromosome)[source]#

Evaluates the fitness of a particular chromosome

eval_pop_fitness(sig: Connection | None = None)[source]#

Evaluates the fitness of the population using parallel processing