Abstract notion of Fitness and unify its usages
Created by: gkirgizov
- Main purpose is to unify usages of Fitness, giving multi- and single- objective fitness common interface.
- Add
PrioritisedFitness
that generalizes single-objective optimization for the case of secondary quality metrics. This will allow to simplify usages of the so-calledsupplementary_metrics
in optimisers, completely hiding them. - This PR also introduces base abstract
Comparable
class, and Fitness inherits from it.