Commits

dan mackinlay committed 154526e

alternate selection procedures now work thanks to correct instance var ordering

Comments (0)

Files changed (2)

 ~biome.play;
 ~plot= PhenosynthBiomeFitnessPlot(~biome);
 ~biome.fitnesses.plot;
-~biome.population[3].asVals;
+~biome.population[20].asVals;
 instr.specs[4].args;
 ~biome.fitness.percentile(0.75);
 ~suspect=~biome.population[10]; 

phenosynth/phenosynth.sc

   var <>maxPopulation; //any more than this might explode something
   var <>deathRate; //average death rate in population
   var <>birthRate; //average birth rate
-  var <>birthFitness;
-  var <>deathFitness;
   var <>numParents; //number of parents involved in birth
   //state
   var <population, <numChannels, <clock, <ticker;
     //for simplicity, we do not prevent birth by onanism here, nor by
     // threesomes etc.
     //let the shagging commence.
-    
     numChildren.do({
       var parentChromosomes, childChromosome;
       parentChromosomes = numParents.collect({