Package com.topologi.diffx.algorithm
Interface DiffXAlgorithm
- All Known Implementing Classes:
DiffXAlgorithmBase,DiffXFitopsy,DiffXFitsy,DiffXFitWesyma,DiffXKumarRangan,GuanoAlgorithm
public interface DiffXAlgorithm
Performs the diff comparison of sequences of events.
- Version:
- 15 December 2004
-
Method Summary
Modifier and TypeMethodDescriptionReturns the first sequence used for the diff-x comparison.Returns the second sequence used for the diff-x comparison.intlength()Returns the length of the longest common subsequence.voidprocess(DiffXFormatter formatter) Performs the comparison and writes the results using the specified Diff-X formatter.
-
Method Details
-
length
int length()Returns the length of the longest common subsequence.- Returns:
- the length of the longest common subsequence.
-
process
Performs the comparison and writes the results using the specified Diff-X formatter.- Parameters:
formatter- The formatter that will handle the output.- Throws:
IOException- If thrown by the formatter.
-
getFirstSequence
EventSequence getFirstSequence()Returns the first sequence used for the diff-x comparison.- Returns:
- the first sequence used for the diff-x comparison.
-
getSecondSequence
EventSequence getSecondSequence()Returns the second sequence used for the diff-x comparison.- Returns:
- the second sequence used for the diff-x comparison.
-