Closed theaksaini closed 4 years ago
The first input to translate-plush-genome-to-push-program should be a map containing only the genome to be translated {:genome new-genome}. A snippet from the relevant function.
translate-plush-genome-to-push-program
{:genome new-genome}
(let [new-genome (apply-simplification-step-to-genome genome simplification-step-probabilities) new-program (translate-plush-genome-to-push-program (assoc ind :genome new-genome) {:max-points (* 10 (count genome))}) new-errors (:errors (error-function {:program new-program}))] (if (and (= new-errors errors) (<= (count-points new-program) (count-points program))) (recur (inc step) new-genome new-program new-errors) (recur (inc step) genome program errors)))))))
https://github.com/lspector/Clojush/blob/34cc8581200777da0ae50d20fb3bb503eff47da7/src/clojush/simplification.clj#L215
The first input to
translate-plush-genome-to-push-program
should be a map containing only the genome to be translated{:genome new-genome}
. A snippet from the relevant function.https://github.com/lspector/Clojush/blob/34cc8581200777da0ae50d20fb3bb503eff47da7/src/clojush/simplification.clj#L215