Class AlignmentFunction<T>

  • Type Parameters:
    T -
    All Implemented Interfaces:
    DpFunction<T>

    public class AlignmentFunction<T>
    extends Object
    implements DpFunction<T>
    SegmentAlignmentFunction implements DpFunction. The class is used to align source and target segments. The type of the alignment element is PageTmTuv.
    • Method Detail

      • setCellScore

        public void setCellScore​(int p_xPos,
                                 int p_yPos,
                                 DpMatrix<T> p_matrix)
        Set the score to DpMatrixCell at the specified location of the matrix.
        Specified by:
        setCellScore in interface DpFunction<T>
        Parameters:
        p_xPos - X index of the matrix.
        p_yPos - Y index of the matrix.
        p_matrix - matrix