kgp.tree / Tree / fitness

fitness

var fitness: Double

The fitness of this tree as based on some data set.

Initially, the value will be set to a high constant (1e9) to penalise programs that haven't had their fitness evaluated yet.