From 2d7873d72c961014f73ed96dbf8dbeb113c45709 Mon Sep 17 00:00:00 2001 From: Rowan Torbitzky-Lane Date: Thu, 6 Mar 2025 03:07:20 -0600 Subject: [PATCH] remove debugging/formatting --- src/HushGP/GP.hs | 2 +- src/HushGP/GP/Simplification.hs | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/src/HushGP/GP.hs b/src/HushGP/GP.hs index 78c3576..3b82239 100644 --- a/src/HushGP/GP.hs +++ b/src/HushGP/GP.hs @@ -8,9 +8,9 @@ import HushGP.GP.Downsample import HushGP.GP.Individual import HushGP.GP.PushArgs import HushGP.GP.PushData -import HushGP.GP.Variation import HushGP.GP.Selection import HushGP.GP.Simplification +import HushGP.GP.Variation import HushGP.Genome import System.Random import System.Random.Shuffle diff --git a/src/HushGP/GP/Simplification.hs b/src/HushGP/GP/Simplification.hs index 960a03e..6ea4197 100644 --- a/src/HushGP/GP/Simplification.hs +++ b/src/HushGP/GP/Simplification.hs @@ -43,14 +43,6 @@ autoSimplifyPlushy' pushArgs@PushArgs{simplificationVerbose = simpVerbose, simpl newPlushy <- deleteRandomAmt randAmt plushy let newPlushyErrors = eFunc pushArgs tData newPlushy let isBetter = newPlushyErrors <= initialErrors - print "-----------------------------------------" - print $ "k: " <> show randAmt - print $ "step: " <> show step - print $ "newPlushy: " <> show newPlushy - print $ "plushy: " <> show plushy - print $ "isBetter: " <> show isBetter - print $ "initialErrors: " <> show initialErrors - print $ "newErrors: " <> show newPlushyErrors autoSimplifyPlushy' pushArgs initialErrors (succ step) (if isBetter then newPlushy else plushy) | otherwise = do when simpVerbose (print ("simplification end plushy length: " <> show (length plushy)))