1 | expdef:
|
---|
2 | name:Reproduction of benthic foraminifera
|
---|
3 | info:~
|
---|
4 | Genes and parameter values which control reproduction are stored in user1 and user2 fields.
|
---|
5 |
|
---|
6 | user1:
|
---|
7 | genes which are not encoded in Ff genotype:
|
---|
8 | minenergy - Minimum stored energy necessary for reproduction
|
---|
9 | minage - minimal age for reproduction
|
---|
10 |
|
---|
11 | user2:
|
---|
12 | Physiological parameters of foraminifera:
|
---|
13 | Va - amount of the stored energy
|
---|
14 | gen - generation: 0 haploid, 1 diploid
|
---|
15 | ~
|
---|
16 | code:~
|
---|
17 |
|
---|
18 | /*
|
---|
19 | changes 2015-06-24:
|
---|
20 | - xxx.get(...) changed to xxx[...]
|
---|
21 | - xxx.set(...,...) changed to xxx[...]=...
|
---|
22 | - function placeRandomlyNotColliding(cr) explicitly called when adding a new creature, and removed collision checking from onForamsBorn() which is also called when "growing" (since "growing" is implemented as creating a new creature in place of the old one, so onForamsBorn() is also called)
|
---|
23 | - use creature's center (not the bbox corner) when growing
|
---|
24 | - added "S" receptor to visualize the difference between diplo and haplo generations
|
---|
25 | - signal.value is a MechPart (a reference) so it does not have to be updated after changing the object location
|
---|
26 | */
|
---|
27 |
|
---|
28 | global nutrientenergywaiting;
|
---|
29 | global reprocounter;
|
---|
30 |
|
---|
31 | @include "foraminifera.inc"
|
---|
32 |
|
---|
33 | // -------------------------------- experiment begin --------------------------------
|
---|
34 |
|
---|
35 | function onExpDefLoad()
|
---|
36 | {
|
---|
37 | // define genotype and creature groups
|
---|
38 | GenePools.clear();
|
---|
39 | Populations.clear();
|
---|
40 | GenePools[0].name = "Unused";
|
---|
41 |
|
---|
42 | SignalView.mode = 1;
|
---|
43 |
|
---|
44 | var pop = Populations[0];
|
---|
45 | pop.name = "Forams";
|
---|
46 | pop.en_assim = 0;
|
---|
47 | pop.nnsim = 0;
|
---|
48 | pop.enableperf = 1;
|
---|
49 | pop.death = 1;
|
---|
50 | pop.energy = 1;
|
---|
51 | pop.selfmask = 0x10001;
|
---|
52 | pop.othermask = 0x20001;
|
---|
53 | //pop.selfmask = 0x20002; pop.othermask = 0x10002;
|
---|
54 | pop.perfperiod = 25;
|
---|
55 |
|
---|
56 | pop = Populations.addGroup("Nutrients");
|
---|
57 | pop.nnsim = 0;
|
---|
58 | pop.enableperf = 0;
|
---|
59 | pop.death = 1;
|
---|
60 | pop.energy = 1;
|
---|
61 | pop.selfmask = 0x20002;
|
---|
62 | pop.othermask = 0x10000;
|
---|
63 |
|
---|
64 | //radius of the chamber
|
---|
65 | ExpParams.rads = [1.2, 0.6];
|
---|
66 | //inital genotypes
|
---|
67 | ExpParams.genh = createForamGenotype(ExpParams.rads[0]);
|
---|
68 | ExpParams.gend = createForamGenotype(ExpParams.rads[1])+"\nn:p=0,d=\"S\"";
|
---|
69 | ExpParams.creath = -0.99; //just above the bottom
|
---|
70 | ExpParams.e_meta = 0.1;
|
---|
71 | ExpParams.feedrate = 0.5;
|
---|
72 | ExpParams.feede0 = 100;
|
---|
73 | ExpParams.feedtrans = 3;
|
---|
74 | ExpParams.nutrientsize = 0.1;
|
---|
75 | ExpParams.nutrientgen = "//0\np:sh=2,sx="+ExpParams.nutrientsize+",sy="+ExpParams.nutrientsize+",sz="+ExpParams.nutrientsize+"\nn:d=T,p=0";
|
---|
76 | ExpParams.autorestart = 0;
|
---|
77 | ExpParams.popsize = 10;
|
---|
78 | //ExpParams.logging = 1; //uncomment to enable logging simulation parameters to log files
|
---|
79 |
|
---|
80 | //number of offspring
|
---|
81 | ExpParams.energy0h = 40;
|
---|
82 | ExpParams.energy0d = 25;
|
---|
83 | //minial volume for reproduction
|
---|
84 | ExpParams.minenerg = [300, 300];
|
---|
85 | //minimal age for reproduction
|
---|
86 | ExpParams.minage = [100, 100];
|
---|
87 | //crossover probability
|
---|
88 | ExpParams.crossprob = 0.4;
|
---|
89 | //mutation probability
|
---|
90 | ExpParams.mutationprob = 0.2;
|
---|
91 | ExpParams.repro_time = 45;
|
---|
92 |
|
---|
93 | //grwoth speed in simulation steps
|
---|
94 | ExpParams.growth_step = 50;
|
---|
95 |
|
---|
96 | ExpState.totaltestedcr = 0;
|
---|
97 | ExpState.nutrient = "";
|
---|
98 | nutrientenergywaiting = ExpParams.feede0;
|
---|
99 | reprocounter = 0;
|
---|
100 |
|
---|
101 | ExpParams.worldsize = 50;
|
---|
102 | World.wrldwat = 50;
|
---|
103 | World.wrldsiz = ExpParams.worldsize;
|
---|
104 | World.wrldbnd = 1;
|
---|
105 | }
|
---|
106 |
|
---|
107 | @include "standard_placement.inc"
|
---|
108 |
|
---|
109 | function onExpInit()
|
---|
110 | {
|
---|
111 | Populations[0].clear();
|
---|
112 | Populations[1].clear();
|
---|
113 |
|
---|
114 | for (var i = 0; i < ExpParams.popsize; i++)
|
---|
115 | {
|
---|
116 | var cr = Populations[0].add(ExpParams.genh);
|
---|
117 | cr.name = "Initial creature" + i;
|
---|
118 | placeCreatureRandomly(cr, 0, 0);
|
---|
119 | cr.energy0 = ExpParams.energy0h;
|
---|
120 | cr.energy = cr.energy0;
|
---|
121 | cr.user1 = {"minenergy" : ExpParams.minenerg[0], "minage": ExpParams.minage[0]};
|
---|
122 | cr.user2 = {"Va" : ExpParams.energy0h, "gen" : 0, "growth_step" : ExpParams.growth_step, "rsize" : ExpParams.rads[0], "vinit" : ExpParams.energy0h};
|
---|
123 | }
|
---|
124 | ExpState.totaltestedcr = 0;
|
---|
125 | nutrientenergywaiting = ExpParams.feede0;
|
---|
126 | }
|
---|
127 |
|
---|
128 | function onExpLoad()
|
---|
129 | {
|
---|
130 | for (var pop in Populations)
|
---|
131 | pop.clear();
|
---|
132 |
|
---|
133 | Loader.addClass(sim_params.*);
|
---|
134 | Loader.setBreakLabel(Loader.BeforeUnknown, "onExpLoad_Unknown");
|
---|
135 | Loader.run();
|
---|
136 |
|
---|
137 | Simulator.print("Loaded " + Populations[0].size + " Forams and " + Populations[1].size + " nutrient objects");
|
---|
138 | }
|
---|
139 |
|
---|
140 | function onExpLoad_Unknown()
|
---|
141 | {
|
---|
142 | if (Loader.objectName == "org") // saved by the old expdef
|
---|
143 | {
|
---|
144 | var g = Genotype.newFromString("");
|
---|
145 | Loader.currentObject = g;
|
---|
146 | Interface.makeFrom(g).setAllDefault();
|
---|
147 | Loader.loadObject();
|
---|
148 | var cr = Populations[0].add(g);
|
---|
149 | if (cr != null)
|
---|
150 | {
|
---|
151 | //cr.rotate(0,0,Math.rnd01*Math.twopi);
|
---|
152 | if ((typeof(g.user1) == "Vector") && (g.user1.size >= 3))
|
---|
153 | {
|
---|
154 | // [x,y,energy]
|
---|
155 | cr.move(g.user1[0] - cr.center_x, g.user1[1] - cr.center_y, 0);
|
---|
156 | cr.energy = g.user1[2];
|
---|
157 | }
|
---|
158 | else
|
---|
159 | {
|
---|
160 | cr.move(Math.rnd01 * World.wrldsiz - cr.center_x, Math.rnd01 * World.wrldsiz - cr.center_y, 0);
|
---|
161 | }
|
---|
162 | }
|
---|
163 | }
|
---|
164 | else if (Loader.objectName == "Creature")
|
---|
165 | {
|
---|
166 | Loader.currentObject = CreatureSnapshot.new();
|
---|
167 | Loader.loadObject();
|
---|
168 | Populations[0].add(Loader.currentObject);
|
---|
169 | }
|
---|
170 | }
|
---|
171 |
|
---|
172 | function onExpSave()
|
---|
173 | {
|
---|
174 | File.writeComment("saved by '%s.expdef'" % Simulator.expdef);
|
---|
175 |
|
---|
176 | var tmpvec = [], i;
|
---|
177 |
|
---|
178 | for(var cr in Populations[1])
|
---|
179 | tmpvec.add([cr.center_x, cr.center_y, cr.energy]);
|
---|
180 |
|
---|
181 | ExpState.nutrient = tmpvec;
|
---|
182 | File.writeObject(sim_params.*);
|
---|
183 | ExpState.nutrient = null; //vectors are only created for saving and then discarded
|
---|
184 |
|
---|
185 | for (var cr in Populations[0])
|
---|
186 | File.writeObject(cr);
|
---|
187 | }
|
---|
188 |
|
---|
189 | // -------------------------------- experiment end --------------------------------
|
---|
190 |
|
---|
191 | // -------------------------------- foram begin -----------------------------------
|
---|
192 |
|
---|
193 | function createForamGenotype(radius)
|
---|
194 | {
|
---|
195 | return "//0\np:sh=1,sx=" + radius + ",sy=" + radius + ",sz=" + radius + ", rz=3.14159265358979";
|
---|
196 | }
|
---|
197 |
|
---|
198 | function onForamsBorn(cr)
|
---|
199 | {
|
---|
200 | cr.idleen = ExpParams.e_meta;
|
---|
201 | }
|
---|
202 |
|
---|
203 | function placeRandomlyNotColliding(cr)
|
---|
204 | {
|
---|
205 | var retry = 100; //try 100 times
|
---|
206 | while (retry--)
|
---|
207 | {
|
---|
208 | placeCreatureRandomly(cr, 0, 0);
|
---|
209 | if (!cr.boundingBoxCollisions(0))
|
---|
210 | return cr;
|
---|
211 | }
|
---|
212 |
|
---|
213 | Populations[0].delete(cr);
|
---|
214 | }
|
---|
215 |
|
---|
216 | function readyToRepro(cr)
|
---|
217 | {
|
---|
218 | cr.signals.add("repro");
|
---|
219 | cr.signals[0].power = 1;
|
---|
220 | }
|
---|
221 |
|
---|
222 | function foramMove(cr)
|
---|
223 | {
|
---|
224 | //TODO moving inside sediment?
|
---|
225 | cr.moveAbs(cr.pos_x, cr.pos_y, 0); //adjustment in z axis
|
---|
226 |
|
---|
227 | var p = cr.getMechPart(0);
|
---|
228 | var n = cr.signals.receiveSet("nutrient", ExpParams.nutrient_range);
|
---|
229 |
|
---|
230 | //if signals are received find the source of the nearest
|
---|
231 | if (n.size > 0)
|
---|
232 | {
|
---|
233 |
|
---|
234 | var i;
|
---|
235 | var mp;
|
---|
236 | var distvec = XYZ.new(0, 0, 0);
|
---|
237 | var dist;
|
---|
238 | var mindist = 100000000000;
|
---|
239 | var mindistvec = null;
|
---|
240 |
|
---|
241 | for (i = 0; i < n.size; i++)
|
---|
242 | {
|
---|
243 | mp = n[i].value;
|
---|
244 | distvec.set(mp.pos);
|
---|
245 | distvec.sub(p.pos);
|
---|
246 | dist = distvec.length;
|
---|
247 | if (dist < mindist)
|
---|
248 | {
|
---|
249 | mindist = dist;
|
---|
250 | mindistvec = distvec.clone();
|
---|
251 | }
|
---|
252 | }
|
---|
253 |
|
---|
254 | mindistvec.normalize();
|
---|
255 | mindistvec.scale(-0.08);
|
---|
256 | cr.localDrive = mindistvec;
|
---|
257 | }
|
---|
258 |
|
---|
259 | else
|
---|
260 | {
|
---|
261 | cr.localDrive = (0.1 * Math.rnd01, 0.1 * Math.rnd01, 0);
|
---|
262 | }
|
---|
263 | }
|
---|
264 |
|
---|
265 | function foramGrow(cr)
|
---|
266 | {
|
---|
267 | //TODO how size is related to the energy?
|
---|
268 | cr.user2["rsize"] = ExpParams.rads[cr.user2["gen"]] * Math.min(Math.max(float(cr.user2["Va"] / cr.user2["vinit"]) * 0.5, 1.0), 2.5);
|
---|
269 | var geno = createForamGenotype(cr.user2["rsize"]);
|
---|
270 | if (cr.user2["gen"] == 1)
|
---|
271 | {
|
---|
272 | geno += "\nn:p=0,d=\"S\""; //TODO why initial genotypes are not used as defined in ExpParams?
|
---|
273 | //TODO maybe it would be nice if they rotated so the "S" would show where they are going (direction/intention)
|
---|
274 | }
|
---|
275 | var cr2 = Populations[0].add(geno);
|
---|
276 | cr2.energy0 = cr.energy;
|
---|
277 | cr2.energy = cr2.energy0;
|
---|
278 | setGenotype(cr2, cr.user1, cr.user2);
|
---|
279 | cr2.moveAbs(cr.center_x - cr2.size_x / 2, cr.center_y - cr2.size_y / 2, cr.pos_z);
|
---|
280 |
|
---|
281 | Populations[0].delete(cr);
|
---|
282 | }
|
---|
283 |
|
---|
284 | function onForamsStep(cr)
|
---|
285 | {
|
---|
286 | foramMove(cr);
|
---|
287 |
|
---|
288 | //energy costs depend on size
|
---|
289 | if (cr.energy > 100)
|
---|
290 | {
|
---|
291 | //TODO energy costs dependent on size
|
---|
292 | // cr.energy_m = cr.user2["Va"]/cr.user2["vinit"];
|
---|
293 | }
|
---|
294 |
|
---|
295 | //TODO lifespan should not be used, it is set to 0 with every growth_step
|
---|
296 | if (cr.lifespan >= ExpParams.max_age)
|
---|
297 | {
|
---|
298 | //TODO what is max age value? should there be one
|
---|
299 | //Populations[0].kill(cr);
|
---|
300 | //return;
|
---|
301 | }
|
---|
302 |
|
---|
303 | //foram growth
|
---|
304 | if (cr.lifespan == cr.user2["growth_step"])
|
---|
305 | {
|
---|
306 | foramGrow(cr);
|
---|
307 | }
|
---|
308 | else
|
---|
309 | {
|
---|
310 | var properSize = 0;
|
---|
311 |
|
---|
312 | if (cr.user2["gen"] == 0)
|
---|
313 | {
|
---|
314 | properSize = cr.user2["Va"] >= cr.user1["minenergy"];
|
---|
315 | }
|
---|
316 | else
|
---|
317 | {
|
---|
318 | properSize = cr.user2["Va"] >= cr.user1[0]["minenergy"]; //TODO gene selection
|
---|
319 | }
|
---|
320 |
|
---|
321 | //if creature has proper age and cytoplasm amount
|
---|
322 | if ( properSize )
|
---|
323 | {
|
---|
324 | //reproduce with probability repro_prob
|
---|
325 | if (Math.rnd01 <= ExpParams.repro_prob)
|
---|
326 | {
|
---|
327 | readyToRepro(cr);
|
---|
328 | }
|
---|
329 | }
|
---|
330 | if ( properSize && (cr.signals.receive("repro") > 0))
|
---|
331 | {
|
---|
332 | readyToRepro(cr);
|
---|
333 | }
|
---|
334 | }
|
---|
335 | }
|
---|
336 |
|
---|
337 | function onForamsDied(cr)
|
---|
338 | {
|
---|
339 | //fossilization
|
---|
340 | var geno = GenePools[0].add(cr.genotype);
|
---|
341 | geno.user1 = cr.user1;
|
---|
342 | geno.user2 = cr.user2;
|
---|
343 | if (ExpParams.logging == 1) Simulator.print("\"" + cr.name + "\" died...");
|
---|
344 | ExpState.totaltestedcr++;
|
---|
345 | }
|
---|
346 |
|
---|
347 | function setGenotype(cr, new_user1, new_user2)
|
---|
348 | {
|
---|
349 | cr.user2 = {"Va" : new_user2["Va"], "gen" : new_user2["gen"], "growth_step" : new_user2["growth_step"], "rsize" : new_user2["rsize"], "vinit": new_user2["vinit"]};
|
---|
350 | if (cr.user2["gen"] == 0)
|
---|
351 | {
|
---|
352 | cr.user1 = {"minenergy" : new_user1["minenergy"], "minage": new_user1["minage"] };
|
---|
353 | }
|
---|
354 | else if (cr.user2["gen"] == 1)
|
---|
355 | {
|
---|
356 | cr.user1 = [ {"minenergy" : new_user1[0]["minenergy"], "minage": new_user1[0]["minage"] }, {"minenergy" : new_user1[1]["minenergy"], "minage": new_user1[1]["minage"] }];
|
---|
357 | }
|
---|
358 |
|
---|
359 | }
|
---|
360 |
|
---|
361 | // --------------------------------foram end -------------------------------------
|
---|
362 |
|
---|
363 | // -------------------------------- nutrient begin --------------------------------
|
---|
364 |
|
---|
365 | function onNutrientsStep(cr)
|
---|
366 | {
|
---|
367 | cr.moveAbs(cr.pos_x % ExpParams.worldsize, cr.pos_y % ExpParams.worldsize, 0.5);
|
---|
368 | }
|
---|
369 |
|
---|
370 | function addNutrient()
|
---|
371 | {
|
---|
372 | var cr = Populations[1].add(ExpParams.nutrientgen);
|
---|
373 |
|
---|
374 | cr.name = "Nutrients";
|
---|
375 | cr.idleen = 0;
|
---|
376 | cr.energy0 = ExpParams.feede0;
|
---|
377 | cr.energy = cr.energy0;
|
---|
378 | cr.signals.add("nutrient");
|
---|
379 |
|
---|
380 | cr.signals[0].value = cr.getMechPart(0);
|
---|
381 |
|
---|
382 | placeRandomlyNotColliding(cr);
|
---|
383 | }
|
---|
384 |
|
---|
385 | function onNutrientsCollision()
|
---|
386 | {
|
---|
387 | if (Collision.Creature2.user2 != null)
|
---|
388 | {
|
---|
389 | var e = Collision.Part2.ing * ExpParams.feedtrans;
|
---|
390 | //Simulator.print("transferring "+e+" from "+Collision.Creature1.name+" to "+Collision.Creature2.name+" ("+Collision.Creature2.energy+")");
|
---|
391 | Collision.Creature1.energy_m = Collision.Creature1.energy_m + e;
|
---|
392 | Collision.Creature2.energy_p = Collision.Creature2.energy_p + e;
|
---|
393 | Collision.Creature2.user2["Va"] = float(Collision.Creature2.user2["Va"]) + float(e);
|
---|
394 | }
|
---|
395 | }
|
---|
396 |
|
---|
397 | // -------------------------------- nutrient end --------------------------------
|
---|
398 |
|
---|
399 |
|
---|
400 | function log(tolog, fname)
|
---|
401 | {
|
---|
402 | var f = File.appendDirect(fname, "forams data");
|
---|
403 | f.writeString("" + Simulator.stepNumber);
|
---|
404 | for (var i = 0; i < tolog.size; i++)
|
---|
405 | {
|
---|
406 | f.writeString(";" + tolog[i]);
|
---|
407 | }
|
---|
408 | f.writeString("\n");
|
---|
409 | f.close();
|
---|
410 | }
|
---|
411 |
|
---|
412 |
|
---|
413 |
|
---|
414 |
|
---|
415 | @include "standard_events.inc"
|
---|
416 |
|
---|
417 | ~
|
---|
418 |
|
---|
419 | prop:
|
---|
420 | id:max_age
|
---|
421 | name:Maximal age
|
---|
422 | type:d 100 1000 500
|
---|
423 | group:Foraminifera
|
---|
424 |
|
---|
425 | prop:
|
---|
426 | id:worldsize
|
---|
427 | name:World size
|
---|
428 | type:d 10 1000 20
|
---|
429 |
|
---|
430 | prop:
|
---|
431 | id:growth_step
|
---|
432 | name:Growth step
|
---|
433 | type:d -1 10000 1000
|
---|
434 | group:Foraminifera
|
---|
435 | help:You can turn off growth by setting this param to -1
|
---|
436 |
|
---|
437 | prop:
|
---|
438 | id:rads
|
---|
439 | name:Haploid and diploid radius
|
---|
440 | type:x
|
---|
441 | group:Foraminifera
|
---|
442 |
|
---|
443 | prop:
|
---|
444 | id:minage
|
---|
445 | name:Min reproduction age of forams
|
---|
446 | type:x
|
---|
447 | group:Foraminifera
|
---|
448 |
|
---|
449 | prop:
|
---|
450 | id:minenerg
|
---|
451 | name:Min reproduction energy of forams
|
---|
452 | type:x
|
---|
453 | group:Foraminifera
|
---|
454 |
|
---|
455 | prop:
|
---|
456 | id:nutrient_range
|
---|
457 | name:Range of nutrient smell
|
---|
458 | type:d 0 10000 10000
|
---|
459 |
|
---|
460 | prop:
|
---|
461 | id:repro_time
|
---|
462 | name:Time before reproduction
|
---|
463 | type:d 0 1000
|
---|
464 |
|
---|
465 | prop:
|
---|
466 | id:popsize
|
---|
467 | name:Initial forams population size
|
---|
468 | type:d 1 1000 100
|
---|
469 | group:Foraminifera
|
---|
470 |
|
---|
471 | prop:
|
---|
472 | id:energy0h
|
---|
473 | name:Number of offspring from haploid forams
|
---|
474 | type:d
|
---|
475 | group:Foraminifera
|
---|
476 |
|
---|
477 | prop:
|
---|
478 | id:energy0d
|
---|
479 | name:Number of offspring from diploid forams
|
---|
480 | type:d
|
---|
481 | group:Foraminifera
|
---|
482 |
|
---|
483 | prop:
|
---|
484 | id:repro_prob
|
---|
485 | name:Probability of reproduction
|
---|
486 | type:f 0 1 0.9
|
---|
487 | group:Foraminifera
|
---|
488 |
|
---|
489 | prop:
|
---|
490 | id:crossprob
|
---|
491 | name:Crossover probability
|
---|
492 | type:f 0 1 0
|
---|
493 | group:Foraminifera
|
---|
494 |
|
---|
495 | prop:
|
---|
496 | id:mutationprob
|
---|
497 | name:Mutation probability
|
---|
498 | type:f 0 1 0
|
---|
499 | group:Foraminifera
|
---|
500 |
|
---|
501 | prop:
|
---|
502 | id:genh
|
---|
503 | name:Initial genotype of haploid forams
|
---|
504 | type:s 1
|
---|
505 | group:Foraminifera
|
---|
506 |
|
---|
507 | prop:
|
---|
508 | id:gend
|
---|
509 | name:Initial genotype of diploid forams
|
---|
510 | type:s 1
|
---|
511 | group:Foraminifera
|
---|
512 |
|
---|
513 | prop:
|
---|
514 | id:creath
|
---|
515 | name:Creation height
|
---|
516 | type:f -1 50
|
---|
517 | help:~
|
---|
518 | Vertical position (above the surface) where new Forams are revived.
|
---|
519 | Negative values are only used in the water area:
|
---|
520 | 0 = at the surface
|
---|
521 | -0.5 = half depth
|
---|
522 | -1 = just above the bottom~
|
---|
523 |
|
---|
524 | prop:
|
---|
525 | id:e_meta
|
---|
526 | name:Idle metabolism
|
---|
527 | type:f 0 1
|
---|
528 | group:Energy
|
---|
529 | help:Each stick consumes this amount of energy in one time step
|
---|
530 |
|
---|
531 | prop:
|
---|
532 | id:feedrate
|
---|
533 | name:Feeding rate
|
---|
534 | type:f 0 100
|
---|
535 | group:Energy
|
---|
536 | help:How fast energy is created in the world
|
---|
537 |
|
---|
538 | prop:
|
---|
539 | id:feede0
|
---|
540 | name:Nutrients's energy
|
---|
541 | group:Energy
|
---|
542 | type:f 0 1000
|
---|
543 |
|
---|
544 | prop:
|
---|
545 | id:feedtrans
|
---|
546 | name:Ingestion multiplier
|
---|
547 | group:Energy
|
---|
548 | type:f 0 100
|
---|
549 |
|
---|
550 | prop:
|
---|
551 | id:nutrientgen
|
---|
552 | name:Nutrients's genotype
|
---|
553 | group:Energy
|
---|
554 | type:s 1
|
---|
555 |
|
---|
556 | prop:
|
---|
557 | id:nutrientsize
|
---|
558 | name:Nutrients's size
|
---|
559 | group:Energy
|
---|
560 | type:f 0.1
|
---|
561 |
|
---|
562 | prop:
|
---|
563 | id:nutrientPop
|
---|
564 | name:Nutrients population size
|
---|
565 | group:Energy
|
---|
566 | type:d 1 1000 10
|
---|
567 |
|
---|
568 | state:
|
---|
569 | id:nutrient
|
---|
570 | name:Nutrients locations
|
---|
571 | help:vector of vectors [x,y,energy]
|
---|
572 | type:x
|
---|
573 | flags:32
|
---|
574 |
|
---|
575 | prop:
|
---|
576 | id:autorestart
|
---|
577 | name:Restart after extinction
|
---|
578 | help:Restart automatically this experiment after the last creature has died?
|
---|
579 | type:d 0 1
|
---|
580 |
|
---|
581 | state:
|
---|
582 | id:notes
|
---|
583 | name:Notes
|
---|
584 | type:s 1
|
---|
585 | help:~
|
---|
586 | You can write anything here
|
---|
587 | (it will be saved to the experiment file)~
|
---|
588 |
|
---|
589 | state:
|
---|
590 | id:totaltestedcr
|
---|
591 | name:Evaluated Forams
|
---|
592 | help:Total number of the Forams evaluated in the experiment
|
---|
593 | type:d
|
---|
594 | flags:16
|
---|
595 |
|
---|
596 | prop:
|
---|
597 | id:logging
|
---|
598 | name:Log statistics to file
|
---|
599 | type:d 0 1 0
|
---|