[380] | 1 | expdef:
|
---|
[406] | 2 | name:Reproduction of benthic foraminifera
|
---|
[380] | 3 | info:~
|
---|
| 4 | Genes and parameter values which control reproduction are stored in user1 and user2 fields.
|
---|
| 5 |
|
---|
| 6 | user1:
|
---|
[402] | 7 | genes which are not encoded in Ff genotype:
|
---|
[421] | 8 | minenergy - Minimum stored energy necessary for reproduction
|
---|
| 9 | minage - minimal age for reproduction
|
---|
[380] | 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 |
|
---|
[401] | 18 | /*
|
---|
| 19 | changes 2015-06-24:
|
---|
| 20 | - xxx.get(...) changed to xxx[...]
|
---|
| 21 | - xxx.set(...,...) changed to xxx[...]=...
|
---|
[421] | 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)
|
---|
[401] | 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 |
|
---|
[421] | 28 | global nutrientenergywaiting;
|
---|
[380] | 29 | global reprocounter;
|
---|
| 30 |
|
---|
[406] | 31 | @include "foraminifera.inc"
|
---|
[401] | 32 |
|
---|
[380] | 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 |
|
---|
[401] | 42 | SignalView.mode = 1;
|
---|
| 43 |
|
---|
[380] | 44 | var pop = Populations[0];
|
---|
[421] | 45 | pop.name = "Forams";
|
---|
[380] | 46 | pop.en_assim = 0;
|
---|
[404] | 47 | pop.nnsim = 0;
|
---|
[380] | 48 | pop.enableperf = 1;
|
---|
| 49 | pop.death = 1;
|
---|
| 50 | pop.energy = 1;
|
---|
| 51 | pop.selfmask = 0x10001;
|
---|
[401] | 52 | pop.othermask = 0x20001;
|
---|
| 53 | //pop.selfmask = 0x20002; pop.othermask = 0x10002;
|
---|
[380] | 54 | pop.perfperiod = 25;
|
---|
| 55 |
|
---|
[421] | 56 | pop = Populations.addGroup("Nutrients");
|
---|
[380] | 57 | pop.nnsim = 0;
|
---|
| 58 | pop.enableperf = 0;
|
---|
| 59 | pop.death = 1;
|
---|
| 60 | pop.energy = 1;
|
---|
| 61 | pop.selfmask = 0x20002;
|
---|
[401] | 62 | pop.othermask = 0x10000;
|
---|
[380] | 63 |
|
---|
[404] | 64 | //radius of the chamber
|
---|
[405] | 65 | ExpParams.rads = [1.2, 0.6];
|
---|
| 66 | //inital genotypes
|
---|
[421] | 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
|
---|
[380] | 70 | ExpParams.e_meta = 0.1;
|
---|
[401] | 71 | ExpParams.feedrate = 0.5;
|
---|
[380] | 72 | ExpParams.feede0 = 100;
|
---|
| 73 | ExpParams.feedtrans = 3;
|
---|
[421] | 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";
|
---|
[380] | 76 | ExpParams.autorestart = 0;
|
---|
[421] | 77 | ExpParams.popsize = 10;
|
---|
[411] | 78 | //ExpParams.logging = 1; //uncomment to enable logging simulation parameters to log files
|
---|
[401] | 79 |
|
---|
| 80 | //number of offspring
|
---|
[421] | 81 | ExpParams.energy0h = 40;
|
---|
| 82 | ExpParams.energy0d = 25;
|
---|
[401] | 83 | //minial volume for reproduction
|
---|
[421] | 84 | ExpParams.minenerg = [300, 300];
|
---|
[401] | 85 | //minimal age for reproduction
|
---|
[421] | 86 | ExpParams.minage = [100, 100];
|
---|
[401] | 87 | //crossover probability
|
---|
| 88 | ExpParams.crossprob = 0.4;
|
---|
| 89 | //mutation probability
|
---|
| 90 | ExpParams.mutationprob = 0.2;
|
---|
[421] | 91 | ExpParams.repro_time = 45;
|
---|
[380] | 92 |
|
---|
[421] | 93 | //grwoth speed in simulation steps
|
---|
| 94 | ExpParams.growth_step = 50;
|
---|
[401] | 95 |
|
---|
[380] | 96 | ExpState.totaltestedcr = 0;
|
---|
[421] | 97 | ExpState.nutrient = "";
|
---|
| 98 | nutrientenergywaiting = ExpParams.feede0;
|
---|
[380] | 99 | reprocounter = 0;
|
---|
| 100 |
|
---|
[421] | 101 | ExpParams.worldsize = 50;
|
---|
[380] | 102 | World.wrldwat = 50;
|
---|
[421] | 103 | World.wrldsiz = ExpParams.worldsize;
|
---|
[380] | 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 |
|
---|
[421] | 114 | for (var i = 0; i < ExpParams.popsize; i++)
|
---|
[380] | 115 | {
|
---|
| 116 | var cr = Populations[0].add(ExpParams.genh);
|
---|
| 117 | cr.name = "Initial creature" + i;
|
---|
| 118 | placeCreatureRandomly(cr, 0, 0);
|
---|
[421] | 119 | cr.energy0 = ExpParams.energy0h;
|
---|
[416] | 120 | cr.energy = cr.energy0;
|
---|
[421] | 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};
|
---|
[380] | 123 | }
|
---|
| 124 | ExpState.totaltestedcr = 0;
|
---|
[421] | 125 | nutrientenergywaiting = ExpParams.feede0;
|
---|
[380] | 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 |
|
---|
[421] | 137 | Simulator.print("Loaded " + Populations[0].size + " Forams and " + Populations[1].size + " nutrient objects");
|
---|
[380] | 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 | {
|
---|
[401] | 151 | //cr.rotate(0,0,Math.rnd01*Math.twopi);
|
---|
[380] | 152 | if ((typeof(g.user1) == "Vector") && (g.user1.size >= 3))
|
---|
[401] | 153 | {
|
---|
| 154 | // [x,y,energy]
|
---|
[380] | 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 | {
|
---|
[401] | 160 | cr.move(Math.rnd01 * World.wrldsiz - cr.center_x, Math.rnd01 * World.wrldsiz - cr.center_y, 0);
|
---|
[380] | 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 |
|
---|
[401] | 176 | var tmpvec = [], i;
|
---|
[380] | 177 |
|
---|
[401] | 178 | for(var cr in Populations[1])
|
---|
[380] | 179 | tmpvec.add([cr.center_x, cr.center_y, cr.energy]);
|
---|
| 180 |
|
---|
[421] | 181 | ExpState.nutrient = tmpvec;
|
---|
[380] | 182 | File.writeObject(sim_params.*);
|
---|
[421] | 183 | ExpState.nutrient = null; //vectors are only created for saving and then discarded
|
---|
[380] | 184 |
|
---|
| 185 | for (var cr in Populations[0])
|
---|
| 186 | File.writeObject(cr);
|
---|
| 187 | }
|
---|
| 188 |
|
---|
| 189 | // -------------------------------- experiment end --------------------------------
|
---|
| 190 |
|
---|
[421] | 191 | // -------------------------------- foram begin -----------------------------------
|
---|
[380] | 192 |
|
---|
[421] | 193 | function createForamGenotype(radius)
|
---|
[380] | 194 | {
|
---|
[421] | 195 | return "//0\np:sh=1,sx=" + radius + ",sy=" + radius + ",sz=" + radius + ", rz=3.14159265358979";
|
---|
| 196 | }
|
---|
| 197 |
|
---|
| 198 | function onForamsBorn(cr)
|
---|
| 199 | {
|
---|
[380] | 200 | cr.idleen = ExpParams.e_meta;
|
---|
| 201 | }
|
---|
| 202 |
|
---|
[401] | 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 |
|
---|
[380] | 216 | function readyToRepro(cr)
|
---|
| 217 | {
|
---|
| 218 | cr.signals.add("repro");
|
---|
[401] | 219 | cr.signals[0].power = 1;
|
---|
[380] | 220 | }
|
---|
| 221 |
|
---|
[421] | 222 | function foramMove(cr)
|
---|
[380] | 223 | {
|
---|
[405] | 224 | //TODO moving inside sediment?
|
---|
| 225 | cr.moveAbs(cr.pos_x, cr.pos_y, 0); //adjustment in z axis
|
---|
[421] | 226 |
|
---|
[380] | 227 | var p = cr.getMechPart(0);
|
---|
[421] | 228 | var n = cr.signals.receiveSet("nutrient", ExpParams.nutrient_range);
|
---|
[380] | 229 |
|
---|
[401] | 230 | //if signals are received find the source of the nearest
|
---|
[380] | 231 | if (n.size > 0)
|
---|
| 232 | {
|
---|
[401] | 233 |
|
---|
[380] | 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 |
|
---|
[401] | 241 | for (i = 0; i < n.size; i++)
|
---|
[380] | 242 | {
|
---|
[401] | 243 | mp = n[i].value;
|
---|
| 244 | distvec.set(mp.pos);
|
---|
| 245 | distvec.sub(p.pos);
|
---|
| 246 | dist = distvec.length;
|
---|
| 247 | if (dist < mindist)
|
---|
[380] | 248 | {
|
---|
[401] | 249 | mindist = dist;
|
---|
| 250 | mindistvec = distvec.clone();
|
---|
[380] | 251 | }
|
---|
| 252 | }
|
---|
| 253 |
|
---|
| 254 | mindistvec.normalize();
|
---|
[401] | 255 | mindistvec.scale(-0.08);
|
---|
[380] | 256 | cr.localDrive = mindistvec;
|
---|
| 257 | }
|
---|
[401] | 258 |
|
---|
[380] | 259 | else
|
---|
| 260 | {
|
---|
[401] | 261 | cr.localDrive = (0.1 * Math.rnd01, 0.1 * Math.rnd01, 0);
|
---|
[380] | 262 | }
|
---|
[421] | 263 | }
|
---|
[380] | 264 |
|
---|
[421] | 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 |
|
---|
[401] | 288 | //energy costs depend on size
|
---|
| 289 | if (cr.energy > 100)
|
---|
| 290 | {
|
---|
[405] | 291 | //TODO energy costs dependent on size
|
---|
[401] | 292 | // cr.energy_m = cr.user2["Va"]/cr.user2["vinit"];
|
---|
| 293 | }
|
---|
[380] | 294 |
|
---|
[421] | 295 | //TODO lifespan should not be used, it is set to 0 with every growth_step
|
---|
[401] | 296 | if (cr.lifespan >= ExpParams.max_age)
|
---|
[380] | 297 | {
|
---|
[421] | 298 | //TODO what is max age value? should there be one
|
---|
| 299 | //Populations[0].kill(cr);
|
---|
| 300 | //return;
|
---|
[401] | 301 | }
|
---|
| 302 |
|
---|
| 303 | //foram growth
|
---|
[404] | 304 | if (cr.lifespan == cr.user2["growth_step"])
|
---|
[401] | 305 | {
|
---|
[421] | 306 | foramGrow(cr);
|
---|
[380] | 307 | }
|
---|
[401] | 308 | else
|
---|
[380] | 309 | {
|
---|
[401] | 310 | var properSize = 0;
|
---|
| 311 |
|
---|
| 312 | if (cr.user2["gen"] == 0)
|
---|
| 313 | {
|
---|
[421] | 314 | properSize = cr.user2["Va"] >= cr.user1["minenergy"];
|
---|
[401] | 315 | }
|
---|
| 316 | else
|
---|
| 317 | {
|
---|
[421] | 318 | properSize = cr.user2["Va"] >= cr.user1[0]["minenergy"]; //TODO gene selection
|
---|
[401] | 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 | }
|
---|
[380] | 334 | }
|
---|
| 335 | }
|
---|
| 336 |
|
---|
[421] | 337 | function onForamsDied(cr)
|
---|
[380] | 338 | {
|
---|
| 339 | //fossilization
|
---|
| 340 | var geno = GenePools[0].add(cr.genotype);
|
---|
| 341 | geno.user1 = cr.user1;
|
---|
| 342 | geno.user2 = cr.user2;
|
---|
[418] | 343 | if (ExpParams.logging == 1) Simulator.print("\"" + cr.name + "\" died...");
|
---|
[380] | 344 | ExpState.totaltestedcr++;
|
---|
| 345 | }
|
---|
| 346 |
|
---|
[404] | 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 | {
|
---|
[421] | 352 | cr.user1 = {"minenergy" : new_user1["minenergy"], "minage": new_user1["minage"] };
|
---|
[404] | 353 | }
|
---|
| 354 | else if (cr.user2["gen"] == 1)
|
---|
| 355 | {
|
---|
[421] | 356 | cr.user1 = [ {"minenergy" : new_user1[0]["minenergy"], "minage": new_user1[0]["minage"] }, {"minenergy" : new_user1[1]["minenergy"], "minage": new_user1[1]["minage"] }];
|
---|
[405] | 357 | }
|
---|
[404] | 358 |
|
---|
| 359 | }
|
---|
| 360 |
|
---|
[421] | 361 | // --------------------------------foram end -------------------------------------
|
---|
[380] | 362 |
|
---|
[421] | 363 | // -------------------------------- nutrient begin --------------------------------
|
---|
[380] | 364 |
|
---|
[421] | 365 | function onNutrientsStep(cr)
|
---|
[380] | 366 | {
|
---|
[421] | 367 | cr.moveAbs(cr.pos_x % ExpParams.worldsize, cr.pos_y % ExpParams.worldsize, 0.5);
|
---|
[380] | 368 | }
|
---|
| 369 |
|
---|
[421] | 370 | function addNutrient()
|
---|
[380] | 371 | {
|
---|
[421] | 372 | var cr = Populations[1].add(ExpParams.nutrientgen);
|
---|
[380] | 373 |
|
---|
[421] | 374 | cr.name = "Nutrients";
|
---|
[380] | 375 | cr.idleen = 0;
|
---|
[416] | 376 | cr.energy0 = ExpParams.feede0;
|
---|
| 377 | cr.energy = cr.energy0;
|
---|
[421] | 378 | cr.signals.add("nutrient");
|
---|
[380] | 379 |
|
---|
[401] | 380 | cr.signals[0].value = cr.getMechPart(0);
|
---|
[380] | 381 |
|
---|
[404] | 382 | placeRandomlyNotColliding(cr);
|
---|
[380] | 383 | }
|
---|
| 384 |
|
---|
[421] | 385 | function onNutrientsCollision()
|
---|
[380] | 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;
|
---|
[404] | 393 | Collision.Creature2.user2["Va"] = float(Collision.Creature2.user2["Va"]) + float(e);
|
---|
[380] | 394 | }
|
---|
| 395 | }
|
---|
| 396 |
|
---|
[421] | 397 | // -------------------------------- nutrient end --------------------------------
|
---|
[380] | 398 |
|
---|
| 399 |
|
---|
| 400 | function log(tolog, fname)
|
---|
| 401 | {
|
---|
[401] | 402 | var f = File.appendDirect(fname, "forams data");
|
---|
[380] | 403 | f.writeString("" + Simulator.stepNumber);
|
---|
[401] | 404 | for (var i = 0; i < tolog.size; i++)
|
---|
[380] | 405 | {
|
---|
| 406 | f.writeString(";" + tolog[i]);
|
---|
| 407 | }
|
---|
| 408 | f.writeString("\n");
|
---|
| 409 | f.close();
|
---|
| 410 | }
|
---|
| 411 |
|
---|
| 412 |
|
---|
| 413 |
|
---|
| 414 |
|
---|
[401] | 415 | @include "standard_events.inc"
|
---|
[380] | 416 |
|
---|
[401] | 417 | ~
|
---|
[380] | 418 |
|
---|
[401] | 419 | prop:
|
---|
| 420 | id:max_age
|
---|
| 421 | name:Maximal age
|
---|
| 422 | type:d 100 1000 500
|
---|
[421] | 423 | group:Foraminifera
|
---|
[380] | 424 |
|
---|
[401] | 425 | prop:
|
---|
[421] | 426 | id:worldsize
|
---|
[401] | 427 | name:World size
|
---|
| 428 | type:d 10 1000 20
|
---|
[380] | 429 |
|
---|
[401] | 430 | prop:
|
---|
| 431 | id:growth_step
|
---|
| 432 | name:Growth step
|
---|
[418] | 433 | type:d -1 10000 1000
|
---|
[421] | 434 | group:Foraminifera
|
---|
| 435 | help:You can turn off growth by setting this param to -1
|
---|
[380] | 436 |
|
---|
[401] | 437 | prop:
|
---|
[404] | 438 | id:rads
|
---|
[405] | 439 | name:Haploid and diploid radius
|
---|
[404] | 440 | type:x
|
---|
[380] | 441 | group:Foraminifera
|
---|
| 442 |
|
---|
| 443 | prop:
|
---|
[421] | 444 | id:minage
|
---|
| 445 | name:Min reproduction age of forams
|
---|
| 446 | type:x
|
---|
[380] | 447 | group:Foraminifera
|
---|
| 448 |
|
---|
| 449 | prop:
|
---|
[421] | 450 | id:minenerg
|
---|
| 451 | name:Min reproduction energy of forams
|
---|
| 452 | type:x
|
---|
[380] | 453 | group:Foraminifera
|
---|
| 454 |
|
---|
| 455 | prop:
|
---|
[421] | 456 | id:nutrient_range
|
---|
| 457 | name:Range of nutrient smell
|
---|
[380] | 458 | type:d 0 10000 10000
|
---|
| 459 |
|
---|
| 460 | prop:
|
---|
| 461 | id:repro_time
|
---|
[401] | 462 | name:Time before reproduction
|
---|
[380] | 463 | type:d 0 1000
|
---|
| 464 |
|
---|
| 465 | prop:
|
---|
[421] | 466 | id:popsize
|
---|
| 467 | name:Initial forams population size
|
---|
[380] | 468 | type:d 1 1000 100
|
---|
[421] | 469 | group:Foraminifera
|
---|
[380] | 470 |
|
---|
| 471 | prop:
|
---|
[421] | 472 | id:energy0h
|
---|
[380] | 473 | name:Number of offspring from haploid forams
|
---|
| 474 | type:d
|
---|
| 475 | group:Foraminifera
|
---|
| 476 |
|
---|
| 477 | prop:
|
---|
[421] | 478 | id:energy0d
|
---|
[380] | 479 | name:Number of offspring from diploid forams
|
---|
| 480 | type:d
|
---|
| 481 | group:Foraminifera
|
---|
| 482 |
|
---|
| 483 | prop:
|
---|
| 484 | id:repro_prob
|
---|
[401] | 485 | name:Probability of reproduction
|
---|
[380] | 486 | type:f 0 1 0.9
|
---|
[421] | 487 | group:Foraminifera
|
---|
[380] | 488 |
|
---|
| 489 | prop:
|
---|
| 490 | id:crossprob
|
---|
[401] | 491 | name:Crossover probability
|
---|
| 492 | type:f 0 1 0
|
---|
[421] | 493 | group:Foraminifera
|
---|
[380] | 494 |
|
---|
| 495 | prop:
|
---|
[401] | 496 | id:mutationprob
|
---|
| 497 | name:Mutation probability
|
---|
| 498 | type:f 0 1 0
|
---|
[421] | 499 | group:Foraminifera
|
---|
[401] | 500 |
|
---|
| 501 | prop:
|
---|
[380] | 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:~
|
---|
[421] | 518 | Vertical position (above the surface) where new Forams are revived.
|
---|
[380] | 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
|
---|
[421] | 540 | name:Nutrients's energy
|
---|
[380] | 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:
|
---|
[421] | 551 | id:nutrientgen
|
---|
| 552 | name:Nutrients's genotype
|
---|
[380] | 553 | group:Energy
|
---|
| 554 | type:s 1
|
---|
| 555 |
|
---|
| 556 | prop:
|
---|
[421] | 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:
|
---|
[380] | 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
|
---|
[421] | 591 | name:Evaluated Forams
|
---|
| 592 | help:Total number of the Forams evaluated in the experiment
|
---|
[380] | 593 | type:d
|
---|
| 594 | flags:16
|
---|
| 595 |
|
---|
[404] | 596 | prop:
|
---|
[421] | 597 | id:logging
|
---|
| 598 | name:Log statistics to file
|
---|
| 599 | type:d 0 1 0
|
---|