Difference between revisions of "Reproduction Operators"

From jecoliwiki
Jump to: navigation, search
(Created page with "Category:Howtos Some algorithms in JECoLi use reproduction operators: Evolutionary Algorithms, Genetic Programming, Simulated Annealing (just mutations). ==== Creating n...")
 

Latest revision as of 16:30, 5 March 2013


Some algorithms in JECoLi use reproduction operators: Evolutionary Algorithms, Genetic Programming, Simulated Annealing (just mutations).

[edit] Creating new operators

A reproduction operator must implement the interface IReproductionOperator<T extends IRepresentation,S extends ISolutionFactory<T>> and we need to define which representation and representation factory it will work.

If operators are defined over existing linear representations, you can extends the classes AbstractCrossoverOperator<T,S> and AbstractMutationOperator<T,S>.

For examples on the implementation of operators check the jecoli.algorithm.components.operator.

Personal tools