protected override double GetFitness(GetFitnessArgs args)
to return a custom score (higher is better). The API docs note: “Override this method to provide custom fitness value for Optimization”. In optimization settings, choosing a “Custom” criterion will use the value returned by GetFitness
.