Skip to main content
. 2020 Oct 12;20(20):5766. doi: 10.3390/s20205766
Algorithm 2 Parallel Pattern Relation Table Algorithm

Input: Training data set D, test sequence σ

Output: Detect if σ is normal or abnormal

  • 1:

    Extract the event set E and the necessary event set En.

  • 2:

    Extract the repeated event set Er by Subroutine 6.

  • 3:

    Learn the loop pattern set LP introduced in Section 4.2.

  • 4:

    Process the sequence diD in parallel introduced in Section 4.3.

  • 5:

    Build multiple relation tables in parallel introduced in Section 4.4.

  • 6:

    Detect if σ is normal or not by Subroutine 7.