All Superinterfaces:
Iterable<MatrixPath.MatrixCellPair>
All Known Implementing Classes:
MatrixPathImpl

public interface MatrixPath extends Iterable<MatrixPath.MatrixCellPair>
Interface representing a path through a matrix.
  • Method Details

    • addPair

      void addPair(int queryIdx, int caseIdx, DataObject queryObj, DataObject caseObj, double value)
      Add a pair of indices and corresponding objects.
      Parameters:
      queryIdx -
      caseIdx -
      queryObj -
      caseObj -
      value -
    • addPair

      void addPair(MatrixPath.MatrixCellPair pair)
      Add a pair to the path.
      Parameters:
      pair -
    • reverse

      MatrixPath reverse()
      Reverse the entries in this path.
    • size

      int size()