pushgp.ec.ec¶
Warning
This module is not fully implemented yet. It will not work as is.
- class pushgp.ec.ec.PushGP(random)[source]¶
Bases: inspyred.ec.ec.EvolutionaryComputation
Evoluiontary computation representing genetic programming using Push
Optional keyword arguments in evolve:
- pop_size – the number of individuals to be created
- mutation_rate – the rate at which mutation is performed (default 0.1)
- crossover_rate – the rate at which crossover is performed (default 1.0)
- push_max_size – the maximum number of instructions in a Push program (default 500)
- push_instructions – a list of possible push intructions to use
(default [])
- __module__ = 'pushgp.ec.ec'¶