source:
java/main/src/main/resources/info/GenePool.info
@
107
Last change on this file since 107 was 107, checked in by , 11 years ago | |
---|---|
File size: 2.4 KB |
Rev | Line | |
---|---|---|
[107] | 1 | class: |
2 | id:GenePool | |
3 | ||
4 | prop: | |
5 | id:name | |
6 | name:Group name | |
7 | type:s | |
8 | ||
9 | prop: | |
10 | id:index | |
11 | name:group index | |
12 | type:d | |
13 | flags:35 | |
14 | ||
15 | prop: | |
16 | id:size | |
17 | name:Number of items in the group | |
18 | type:d | |
19 | flags:3 | |
20 | help:In standard.expdef, this is equivalent to the number of unique genotypes. Standard experiment definition uses the Genotype.instances field to indicate that some genotypes exist in multiple instances despite having only one item in the group. Other experiment definitions may create multiple copies of the same genotype. | |
21 | ||
22 | prop: | |
23 | id:totalpop | |
24 | name:Number of genotype instances | |
25 | type:d | |
26 | flags:3 | |
27 | help:Takes into account the Genotype.instances field (which may give the total number of instances depending on the experiment definition). | |
28 | ||
29 | prop: | |
30 | id:fitness | |
31 | name:Fitness formula | |
32 | type:s 1 | |
33 | help:(intended for advanced users) | |
34 | ||
35 | prop: | |
36 | id:fitfun | |
37 | name:Scale fitness? | |
38 | type:d 0 1 0 | |
39 | help:Enables fitness scaling. | |
40 | ||
41 | prop: | |
42 | id:fitm | |
43 | name:Shift coefficient | |
44 | type:f 0 10 2 | |
45 | help:~ | |
46 | Lower threshold: how many standard deviations below average? | |
47 | (avg - n * stddev) - used for fitness shifting~ | |
48 | ||
49 | prop: | |
50 | id:fitma | |
51 | name:Scaling coefficient | |
52 | type:f 1 10 2 | |
53 | help:~ | |
54 | The best genotype is as many times | |
55 | better than the average one.~ | |
56 | ||
57 | prop: | |
58 | id:get | |
59 | name:get Genotype object | |
60 | type:p oGenotype(d index) | |
61 | flags:34 | |
62 | ||
63 | prop: | |
64 | id:findGeno | |
65 | name:find Genotype index | |
66 | type:p d(oGeno) | |
67 | flags:34 | |
68 | help:~ | |
69 | Finds the Genotype matching the supplied Geno object. | |
70 | returns genotype index or -1 if not found.~ | |
71 | ||
72 | prop: | |
73 | id:findUID | |
74 | name:find Genotype by UID | |
75 | type:p d(s uid) | |
76 | flags:34 | |
77 | ||
78 | prop: | |
79 | id:addGeno | |
80 | name:make Genotype from Geno | |
81 | type:p oGenotype(oGeno) | |
82 | flags:34 | |
83 | help:~ | |
84 | Creates a new Genotype from the supplied Geno object. | |
85 | Returns the created Genotype.~ | |
86 | ||
87 | prop: | |
88 | id:createFromGeno | |
89 | name: | |
90 | type:p oGenotype(s genotype) | |
91 | flags:34 | |
92 | help:same as addGeno (to comply with createFrom... convention) | |
93 | ||
94 | prop: | |
95 | id:createFromString | |
96 | name: | |
97 | type:p oGenotype(s genotype) | |
98 | flags:34 | |
99 | help:Uses the supplied string argument | |
100 | ||
101 | prop: | |
102 | id:delete | |
103 | name: | |
104 | type:p(d genotype index) | |
105 | flags:34 | |
106 | help:Deletes a genotype. | |
107 | ||
108 | prop: | |
109 | id:clear | |
110 | name: | |
111 | type:p() | |
112 | flags:34 | |
113 | help:Delete all genotypes. GenePools[group].clear() is equivalent to GenePools.clearGroup(group) | |
114 | ||
115 | prop: | |
116 | id:mergeInstances | |
117 | name: | |
118 | type:p() | |
119 | flags:34 | |
120 | help:Merge instances of the same genotype | |
121 | ||
122 | prop: | |
123 | id:splitInstances | |
124 | name: | |
125 | type:p() | |
126 | flags:34 | |
127 | help:Split genotype instances | |
128 | ||
129 | prop: | |
130 | id:genotypes | |
131 | name:Genotypes | |
132 | type:l Genotype uid | |
133 | ||
134 | prop: | |
135 | id:genotypes_changed | |
136 | name:genotype list changed | |
137 | type:e ListChange | |
138 |
Note: See TracBrowser
for help on using the repository browser.