Package net.bmahe.genetics4j.moo
Interface ObjectiveDistance<T>
- Type Parameters:
T
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Provide a method to compute distances between to fitness scores along one
objective
-
Method Summary
-
Method Details
-
distance
Compute the distance between two fitness scores along one objective- Parameters:
a
- First fitness scoreb
- Second fitness scoreobjective
- Objective along with the distance shall be computed- Returns:
- distance
-