Interface Aligner<T>

Record Components:
T - the type of object being aligned
All Known Implementing Classes:
IndelAligner, PhoneAligner, SyllableAligner

public interface Aligner<T>
Calculates pairwise alignment of two sequences of objects.
  • Method Details

    • calculateAlignment

      AlignmentMap<T> calculateAlignment(T[] top, T[] bottom)
      Calculate the alignment. Alignment calculation is determined by implementation. See global vs local alignment.
      Returns:
      the alignment map
    • getAlignmentMap

      AlignmentMap<T> getAlignmentMap()
      Returns the AlignmentMap calculated during the last call to 'calculateAlignment'. Undefined if calculateAlignment was not called.
      Returns:
      alignment map