kgp.fitness / FitnessFunction

FitnessFunction

typealias FitnessFunction = (Cases, Outputs) -> Double

A function that will evaluate the performance a program based on how close its outputs were to the cases given.