genepy Package

genepy Package

genepy - genetic algorithms in python

infpy.genepy.random() → x in the interval [0, 1).

population Module

class infpy.genepy.population.Population(size, species, fitness_fn)[source]

Bases: object

A collection of individuals of a particular species

breeding_proportion = 0.1
carry_over_parents = True
combine_generations()[source]
fitness_fn = None
generation()[source]

Run through a generation

minimise = True
mutate()[source]
p_mutation = 0.1
post_generation_process = None
reproduce()[source]
score_individuals()[source]
select_parents()[source]
species = None
infpy.genepy.population.random() → x in the interval [0, 1).

Table Of Contents

Previous topic

test Package

Next topic

gp Package

This Page