From 238df31cd5cd14b63be3849ff65b2a7e626cdc07 Mon Sep 17 00:00:00 2001 From: Rowan Torbitzky-Lane Date: Sun, 27 Apr 2025 20:16:43 -0500 Subject: [PATCH] plushy->push test 0 --- src/propeller/session.cljc | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/propeller/session.cljc b/src/propeller/session.cljc index 03c8954..6a5f068 100755 --- a/src/propeller/session.cljc +++ b/src/propeller/session.cljc @@ -80,11 +80,19 @@ #_(genome/plushy->push (genome/make-random-plushy - {:instructions (instructions/get-stack-instructions #{:float :integer :exec :boolean}) - :max-initial-plushy-size 100 - :bmx? true + {:instructions (instructions/get-stack-instructions #{:float :integer :exec :boolean}) + :max-initial-plushy-size 10 + :bmx? false :bmx-gene-length-limit 10})) +#_(genome/plushy->push + (:instructions ())) + +#_(genome/make-random-plushy {:instructions (instructions/get-stack-instructions #{:float :integer :exec :boolean}) + :max-initial-plushy-size 10 + :bmx? false + :bmx-gene-length-limit 10}) + ;; One way of running a genetic programming problem defined in the project ;; is to require the problem's namespace and then call `gp/gp` using the ;; items defined for the problem. Depending on your IDE and setup, you may @@ -150,3 +158,7 @@ regression/integer-argmap (downsample/initialize-case-distances test-argmap) test-argmap) test-argmap) + +;; How does plushy->push work with specific examples? +#_(genome/plushy->push + [:exec_swap :float_tan :integer_pop 'close])