Commits

dan mackinlay committed 62feb5a

sketch of sim infrastrcuture

Comments (0)

Files changed (2)

privateer_pyevolve/lottery.py

     
     def std_dev(self, *args, **kwargs):
         return (self['upper'] - self['lower'])/(2.0*sqrt(3))
+

privateer_pyevolve/privateer_sim.py

 
 def run_main():
     # Genome instance, 1D List of 50 elements
-    genome = G1DList.G1DList(50)
+    genome = G1DList.G1DList(1)
 
     # Sets the range max and min of the 1D List
-    genome.setParams(rangemin=0, rangemax=10)
+    genome.setParams(rangemin=-2.0, rangemax=2.0)
 
     # The evaluator function (evaluation function)
     genome.evaluator.set(eval_func)