Interface DpFunction<T>

  • All Known Implementing Classes:
    AlignmentFunction

    public interface DpFunction<T>
    DpFunction is an interface defining a method to calculate the score of a matrix cell. The implementation of this interface should have the knowledge of the type of the sequences to be aligned.
    • Method Detail

      • setCellScore

        void setCellScore​(int xPos,
                          int yPos,
                          DpMatrix<T> matrix)
        Set the score to DpMatrixCell at the specified location of the matrix.
        Parameters:
        xPos - X index of the matrix.
        yPos - Y index of the matrix.
        matrix - matrix