View Source Geneticx (Generticx v0.1.1)
Documentation for Geneticx
.
Summary
Functions
Crossover to generate the children
Evaluate the population with the fitness function
The core algorithm
Hello world.
Initialize the population with genotype
Mutate the children randomly
Run the genetic algorithm
Select the parents for the next generation
Functions
Crossover to generate the children
Evaluate the population with the fitness function
Link to this function
evolve(population, fitness_function, genotype, max_fitness, opts \\ [])
View SourceThe core algorithm
Hello world.
Examples
iex> Geneticx.hello()
:world
Initialize the population with genotype
Mutate the children randomly
Run the genetic algorithm
Select the parents for the next generation