Skip to main content
. 2019 Aug 1;21(8):753. doi: 10.3390/e21080753
Algorithm 1 Intra_Eval()
Input:si, K
Output:True or False, Cei.
  • 1:

    generate the si’s PDG and obtain Fi

  • 2:

    for each XHIni do

  • 3:

    for each YLOuti do

  • 4:

      for each δ(X,Y)Fi do

  • 5:

       compute FLIni(δ(X,Y)) based on QR 2 and QR 3

  • 6:

       FLIni(XY) = FLIni(XY) + FLIni(δ(X,Y))

  • 7:

      end for

  • 8:

      record the FLIni(XY) into service certificate Cei

  • 9:

      L(X)i = L(X)i+ FLIni(XY)

  • 10:

    end for

  • 11:

    if L(X)iK then

  • 12:

      return False

  • 13:

    end if

  • 14:

     record the L(X)i into service certificate Cei

  • 15:

    for each YHOuti do

  • 16:

      if δ(X,Y)Fi then

  • 17:

       record the flow from X to Y into service certificate Cei

  • 18:

      end if

  • 19:

    end for

  • 20:

    end for

  • 21:

    signature(Cei,SA)

  • 22:

    return True