Commits

dan mackinlay  committed 77e7994

newfangled crossover disabled coz it doesn't help

  • Participants
  • Parent commits 536b623

Comments (0)

Files changed (2)

 TODOs
 ======
 
-  * bitwise float merge
+  * bitwise float merge - make it work better
+  * work out why the fittest candidate seems to be badly correlated with known best value

File privateer_pyevolve/privateer_sim.py

     #genome.mutator.set(Mutators.G1DListMutatorRealRange)
     
     # Crossover function must be set to something that can handle 1-elem list
-    # genome.crossover.set(Crossovers.G1DListCrossoverUniform)
+    genome.crossover.set(Crossovers.G1DListCrossoverUniform)
     # genome.crossover.set(PrivateerCrossovers.G1DListCrossoverMean)
-    genome.crossover.set(PrivateerCrossovers.G1DListCrossoverBitwise)
+    # genome.crossover.set(PrivateerCrossovers.G1DListCrossoverBitwise)
     
     # Genetic Algorithm Instance
     ga_engine = GSimpleGA.GSimpleGA(genome,seed=seed)