Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.13 KB

ea_bases.rst

File metadata and controls

42 lines (27 loc) · 1.13 KB

Evolutionary Algorithm Bases

eap.base

Population

Population

PopulationMatrix([rows, columns, generator])

Individual

Individual([size, fitness, generator])

Fitness

Fitness(weights)

Attribute

0.2.1a From now, a Gene will be called an attribute, in order to avoid any confusion with biology terminologie that can miss lead the real extent of the individual's attributes.

Version 0.2.1a of EAP elliminated the Gene class since any object may be inserted in an Individual as an attribute. Instead generator function are used to produce those attributes. In fact, on the initialisation of an individual, the generator's next function is simply called repeatedly until the individual has all its attributes.

realGenerator(min, max)

integerGenerator(min, max)

indiceGenerator

booleanGenerator