Skip to main content
. 2022 Aug 9;24(8):1095. doi: 10.3390/e24081095
Algorithm 1 Pattern Dictionary (PD) Parser
  • Require

    Pattern Dictionary D, Test Sequence x1l

  • 1:

    Set c=1, vc=1, d=1

  • 2:

    while  vc+d1<l  do

  • 3:

        if xvcvc+d1SDd then

  • 4:

            if d+1Dmax then

  • 5:

               d=d+1

  • 6:

            else

  • 7:

               vc+1=vc+d

  • 8:

               c=c+1

  • 9:

               d=1

  • 10:

        else

  • 11:

            vc+1=vc+d1

  • 12:

            c=c+1

  • 13:

            d=1

  • 14:

    return  xv1v21,xv2v31,,xvcl