clojush.pushgp.selection.implicit-fitness-sharing

assign-ifs-error-to-individual

(assign-ifs-error-to-individual ind summed-reward-on-test-cases)

Takes an individual and calculates and assigns its IFS based on the summed error across each test case.

calculate-implicit-fitness-sharing

(calculate-implicit-fitness-sharing pop-agents {:keys [use-single-thread]})

Calculates the summed fitness for each test case, and then uses it to assign an implicit fitness sharing error to each individual. Assumes errors are in range [0,1] with 0 being a solution.