Skip to main content
. 2018 Dec 21;19(1):29. doi: 10.3390/s19010029
Algorithm 2 GetPFS (OD, DD, FS, old, new)
Input: OD, DD, FS, old, new
Output: PFS
1: Put FS into PFS
2: Set s1=PrefixSpan+({},old+new,min_sup×|new|)
3: Puts1into PFS
4: Forbin PFS
5:   Construct projection database S of DD to the part of b that belongs to OD
6:   Set s2=PostfixSpan+(b,S,min_sup×|new|)
7:   Put s2 into PFS