A fitness function is an indication of how close a given solution is to your optimisation goal.
It is a type of objective or cost function that maps all inputs to a single figure of merit.
A fitness function is an indication of how close a given solution is to your optimisation goal.
It is a type of objective or cost function that maps all inputs to a single figure of merit.