All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.epam.healenium.treecomparing.NodeDistance Maven / Gradle / Ivy

There is a newer version: 0.4.14
Show newest version
package com.epam.healenium.treecomparing;

/**
 * Represents metrics (p) between two nodes
 * p ∈ [0, 1],
 * where 0 - elements are strongly different
 *       1 - elements are the same
 */
@FunctionalInterface
public interface NodeDistance {

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy