packages feed

hgalib-0.1: _darcs/tentative_pristine

hunk ./examples/GPTest.hs 15
+ GP.Op (\[x,y] -> return $ x * y) 2 "*", -- Multiplication
hunk ./examples/GPTest.hs 20
--- Examples for the function f(x) = 2x + 1
+-- Examples for the function f(x) = 3x^2 + 1
hunk ./examples/GPTest.hs 22
-examples = zip [1..10] $ map (\x -> 2 * x + 1) [1..10]
+examples = zip [1..10] $ map (\x -> 3 * x * x + 1) [1..10]
hunk ./examples/GPTest.hs 42
-             maxGeneration = Just 100,
+             maxGeneration = Just 500,
hunk ./examples/GPTest.hs 52
--- Tree depth of 3 using ops as the pool of available tree nodes
-initPop = replicateM 100 $ GP.random 3 ops
+-- Tree depth of 4 using ops as the pool of available tree nodes
+initPop = replicateM 100 $ GP.random 4 ops