Skip to content

Commit

Permalink
Raised diversification threshold to 11 (>10, c.f. Spinal Tap).
Browse files Browse the repository at this point in the history
  • Loading branch information
lspector committed Apr 16, 2016
1 parent 1f1e148 commit d752111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clojush/pushgp/genetic_operators.clj
Expand Up @@ -311,7 +311,7 @@ programs encoded by genomes g1 and g2."
(produce-child-genome-by-autoconstruction g g false argmap)
argmap)
diffs (repeatedly 2 delta)]
(and (> (reduce min diffs) 0) ;; diversification threshold set here
(and (> (reduce min diffs) 10) ;; diversification threshold set here
(> (count (distinct diffs)) 1))))

(defn autoconstruction
Expand Down

0 comments on commit d752111

Please sign in to comment.