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.

@FunctionalInterface public interface ObjectiveDistance<T>
Provide a method to compute distances between to fitness scores along one objective
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    distance(T a, T b, int objective)
    Compute the distance between two fitness scores along one objective
  • Method Details

    • distance

      double distance(T a, T b, int objective)
      Compute the distance between two fitness scores along one objective
      Parameters:
      a - First fitness score
      b - Second fitness score
      objective - Objective along with the distance shall be computed
      Returns:
      distance