Package com.epam.healenium.treecomparing
Class LCSPathDistance
- java.lang.Object
-
- com.epam.healenium.treecomparing.LCSPathDistance
-
- All Implemented Interfaces:
PathDistance
public class LCSPathDistance extends Object implements PathDistance
Metric based on Longest common subsequence. See https://en.wikipedia.org/wiki/Longest_common_subsequence_problem
-
-
Constructor Summary
Constructors Constructor Description LCSPathDistance()
-
-
-
Method Detail
-
distance
public int distance(Path path1, Path path2)
- Specified by:
distancein interfacePathDistance
-
-