Module revonet::ea [] [src]

Structs

RealCodedIndividual

Represents real-coded individual with genes encoded as vector of real numbers.

Traits

EA

Trait for an evolutionary algorithm. Defines functions which are typical for running a common EA. To implement a trait a function breed should be implemented.

Individual

Trait representing functionality required to evolve an individual for optimization and NN tuning tasks.

Functions

create_population

Creates population of given size. Uses problem.get_random_individual to generate a new individual

get_best_individual

Get copy of the individual having the best fitness value.