diff --git a/src/propeller/gp.clj b/src/propeller/gp.clj index 345ae64..afe1e09 100644 --- a/src/propeller/gp.clj +++ b/src/propeller/gp.clj @@ -14,6 +14,8 @@ (println "Best total error:" (:total-error best)) (println "Best errors:" (:errors best)) (println "Best behaviors:" (:behaviors best)) + (println "Genotypic diversity:" (float (/ (count (distinct (map :plushy pop))) (count pop)))) + (println "Average genome length:" (float (/ (reduce + (map count (map :plushy pop))) (count pop)))) (println))) (defn gp