show: name:Reproduction of benthic foraminifera info:~ Genes and parameter values which control reproduction are stored in user1 and user2 fields. user1: genes which are not encoded in ff genotype: Vamin - Minimum stored energy necessary for reproduction amin - minimal age for reproduction user2: Physiological parameters of foraminifera: Va - amount of the stored energy gen - generation: 0 haploid, 1 diploid ~ expdef:foraminifera code:~ function onLoad() { Simulator.init(); GLDisplay.desiredsimspeed = 50; GLDisplay.minfps = 10; } function ShowParams_minimalVolume_set() { switch (ShowParams.minimalVolume) { case 0: ExpParams.v_min_h = 300; ExpParams.v_min_d = 300; break; case 1: ExpParams.v_min_h = 150; ExpParams.v_min_d = 500; break; } } function ShowParams_offspingNumber_set() { switch (ShowParams.offspingNumber) { case 0: ExpParams.ofnumh = 300; ExpParams.ofnumd = 300; break; case 1: ExpParams.ofnumh = 150; ExpParams.ofnumd = 500; break; } } function ShowParams_populationSize_set() { switch (ShowParams.populationSize) { case 0: ExpParams.psize = 5; break; case 1: ExpParams.psize = 10; break; case 2: ExpParams.psize = 15; break; case 3: ExpParams.psize = 20; break; } } function ShowParams_feedRate_set() { switch (ShowParams.feedRate) { case 0: ExpParams.feedrate = 0.5; break; case 1: ExpParams.feedrate = 0.7; break; case 2: ExpParams.feedrate = 0.9; break; } } ~ prop: id:minimalVolume name:Min reproduction energy haploid/diploid type:f 0 1 ~300 / 300~150 / 500 prop: id:populationSize name:Initial population size type:d 0 3 ~5~10~15~20 prop: id:offspingNumber name:Number of offspring haploi/diploid type:d 0 2 ~20 / 4~10 / 5 prop: id:feedRate name:Feeding rate type:d 0 2 ~50~70~90