evaluate method

  1. @override
double evaluate()
override

Evaluates to a single numeric value. This goes against the multi-dimensionality of this class, but it's sometimes useful. For example, fitness sharing needs it, and it's easier for printing to the user.

Implementation

@override
double evaluate() => value;