1 | ec/simple/ contains typical implementations of the abstract forms found in ec/. |
---|
2 | Specifically, ec/simple defines generational evolution common in genetic |
---|
3 | algorithms, plus some simple statistics modules sufficient to do common work. |
---|
4 | |
---|
5 | The simple.params file is used by a wide range of applications and other tools |
---|
6 | as a basic starting point. |
---|
7 | |
---|
8 | |
---|
9 | |
---|
10 | The classes are: |
---|
11 | |
---|
12 | |
---|
13 | |
---|
14 | ec.simple.SimpleEvolutionState |
---|
15 | |
---|
16 | Performs generational evolution. |
---|
17 | |
---|
18 | |
---|
19 | ec.simple.SimpleEvaluator |
---|
20 | |
---|
21 | Performs simple multithreaded evaluation of populations by, for each subpopulation, |
---|
22 | breaking the subpopulation into N chunks of even size and handing each chunk to |
---|
23 | a separate thread to evaluate. |
---|
24 | |
---|
25 | |
---|
26 | ec.simple.SimpleBreeder |
---|
27 | |
---|
28 | Performs simple multithreaded breeding of populations by, for each subpopulation, |
---|
29 | breaking the subpopulation into N chunks of even size and handing each chunk to |
---|
30 | a separate thread to fill with individuals generated from breeding pipelines. |
---|
31 | SimpleBreeder also has an optional elitism function: the best M individuals in each |
---|
32 | subpopulation are advanced to the next generation automatically. |
---|
33 | |
---|
34 | |
---|
35 | ec.simple.SimpleExchanger |
---|
36 | ec.simple.SimpleFinisher |
---|
37 | |
---|
38 | Implementations of Exchanger and Finisher which do nothing at all. |
---|
39 | |
---|
40 | |
---|
41 | ec.simple.SimpleInitializer |
---|
42 | |
---|
43 | A basic initializer which simply calls populate() on the Population to cause it to |
---|
44 | fill itself with new individuals. Note that certain representations have their own |
---|
45 | required subclass of SimpleInitializer which does other minor duties as well. |
---|
46 | |
---|
47 | |
---|
48 | ec.simple.SimpleProblemForm |
---|
49 | |
---|
50 | An interface which defines how basic, non-coevolutionary, single-individual |
---|
51 | fitness evaluation is perfomed. Your Problem subclass will probably be required |
---|
52 | to implement this interface. |
---|
53 | |
---|
54 | |
---|
55 | ec.simple.SimpleFitness |
---|
56 | |
---|
57 | A basic single-objective fitness class which defines better fitnesses as ones which |
---|
58 | have higher values. In some cases you may wish to restrict such fitness values |
---|
59 | to be positive. |
---|
60 | |
---|
61 | |
---|
62 | ec.simple.SimpleStatistics |
---|
63 | |
---|
64 | A basic Statistics object which prints out the best individual of generation, for |
---|
65 | each generation, plus the best individual of run at the end. |
---|
66 | |
---|
67 | |
---|
68 | ec.simple.SimpleShortStatistics |
---|
69 | |
---|
70 | A basic Statistics object which prints out, one line per generation, a variety of |
---|
71 | easily parsed statistical information about that generation's results. |
---|
72 | |
---|
73 | |
---|