- Timestamp:
- 08/01/15 16:32:10 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
experiments/frams/foraminifera/data/scripts/foraminifera.expdef
r416 r418 24 24 - added "S" receptor to visualize the difference between diplo and haplo generations 25 25 - signal.value is a MechPart (a reference) so it does not have to be updated after changing the object location 26 */27 28 /* TODO fix29 [ERROR] Population.kill: Invalid index 35 (allowed range is 0..34)30 [ERROR] Population.kill: ... called from reproduce_haploid() <foraminifera.inc:54>31 [ERROR] Population.kill: ... called from onStep() <foraminifera.inc:228>32 26 */ 33 27 … … 69 63 pop.othermask = 0x10000; 70 64 65 //TODO remove unused params 66 71 67 //radius of the chamber 72 68 ExpParams.rads = [1.2, 0.6]; 69 //ExpParams.rads = [2, 2]; 73 70 //inital genotypes 74 71 ExpParams.genh = "//0\np:sh=1,sx=" + ExpParams.rads[0] + ",sy=" + ExpParams.rads[0] + ",sz=" + ExpParams.rads[0] + ", rz=3.14159265358979"; … … 80 77 ExpParams.feedtrans = 3; 81 78 ExpParams.creath = -0.99; //just above the bottom 82 ExpParams.foodgen = "//0\np:sh=2,sx=0.1,sy=0.1,sz=0.1\nn:d=T,p=0"; 79 ExpParams.foodgen = "//0\np:sh=2,sx=0.1,sy=0.1,sz=0.1\nn:d=T,p=0"; //TODO food size as param 83 80 ExpParams.autorestart = 0; 84 81 ExpParams.psize = 10; … … 102 99 103 100 //grwoth speed in time steps 104 ExpParams.growth_step = 50; 101 ExpParams.growth_step = 50; //50 105 102 106 103 ExpState.totaltestedcr = 0; … … 308 305 else 309 306 { 310 properSize = cr.user2["Va"] >= cr.user1[0]["vamin"]; 307 properSize = cr.user2["Va"] >= cr.user1[0]["vamin"]; //TODO gene selection 311 308 } 312 309 … … 333 330 geno.user1 = cr.user1; 334 331 geno.user2 = cr.user2; 335 Simulator.print("\"" + cr.name + "\" died...");332 if (ExpParams.logging == 1) Simulator.print("\"" + cr.name + "\" died..."); 336 333 ExpState.totaltestedcr++; 337 334 } … … 422 419 id:growth_step 423 420 name:Growth step 424 type:d 1010000 1000421 type:d -1 10000 1000 425 422 426 423 prop:
Note: See TracChangeset
for help on using the changeset viewer.