Interface NodeDistance

  • All Known Implementing Classes:
    HeuristicNodeDistance
    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 NodeDistance
    Represents metrics (p) between two nodes p ∈ [0, 1], where 0 - elements are strongly different 1 - elements are the same
    • Method Detail

      • distance

        double distance​(Node node1,
                        Node node2,
                        int LCSDistance,
                        int curPathHeight)