Flush output stream after each generation report
This commit is contained in:
parent
71d378f49f
commit
131be83328
@ -40,7 +40,8 @@
|
|||||||
{:best-gene-count (utils/count-genes (:plushy best))
|
{:best-gene-count (utils/count-genes (:plushy best))
|
||||||
:average-gene-count (float (/ (reduce + (map utils/count-genes (map :plushy pop)))
|
:average-gene-count (float (/ (reduce + (map utils/count-genes (map :plushy pop)))
|
||||||
(count pop)))}
|
(count pop)))}
|
||||||
{})))))
|
{})))
|
||||||
|
(flush)))
|
||||||
|
|
||||||
(defn cleanup
|
(defn cleanup
|
||||||
[]
|
[]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user