HSGEP 0.1.1 → 0.1.2
raw patch · 2 files changed
+11/−5 lines, 2 filesdep −network
Dependencies removed: network
Files
- GEP/Examples/Regression/Driver.hs +9/−3
- HSGEP.cabal +2/−2
GEP/Examples/Regression/Driver.hs view
@@ -11,7 +11,11 @@ import GEP.Util.ConfigurationReader import GEP.Examples.Regression.ArithmeticIndividual import GEP.Examples.Regression.FitnessInput-import GEP.Examples.Regression.MaximaClient+-- NOTE: you can use the files in the maxima subdirectory next to this+-- example to integrate the maxima client/server for pretty printing+-- polynomials+--+-- import GEP.Examples.Regression.MaximaClient import System.Environment (getArgs) import Control.Monad (when) @@ -62,10 +66,12 @@ putStrLn $ "DONE : "++(show best) putStrLn $ "INFIX : "++bestString - putStrLn $ "MAXIMA OUTPUT :" -- send flattened individual to maxima for pretty printing -- and print lines that come back- maximaExpand bestString "qubu.net" 12777 >>= mapM_ putStrLn+ -- UNCOMMENT THE FOLLOWING TO USE MAXIMA++ -- putStrLn $ "MAXIMA OUTPUT :"+ -- maximaExpand bestString "qubu.net" 12777 >>= mapM_ putStrLn -- dump to dot file if one was specified dumpDotFile dotfile bestExpressed
HSGEP.cabal view
@@ -1,5 +1,5 @@ Name: HSGEP-Version: 0.1.1+Version: 0.1.2 Cabal-Version: >= 1.6 License: BSD3 License-File: LICENSE@@ -30,7 +30,7 @@ GHC-Options: -Wall GHC-Prof-Options: -Wall -auto-all -caf-all - Build-Depends: network, csv+ Build-Depends: csv Main-Is: GEP/Examples/Regression/Driver.hs Executable HSGEP_CADensity