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 Type
    Method
    Description
    Returns the first sequence used for the diff-x comparison.
    Returns the second sequence used for the diff-x comparison.
    int
    Returns the length of the longest common subsequence.
    void
    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

      void process(DiffXFormatter formatter) throws IOException
      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.