Research Article
Log Pattern Mining for Distributed System Maintenance
Algorithm 1
Initialize the candidate pattern set
.| Input: singleton event set and sequence | | Output: candidate pattern set | | (1) | functionINITIALIZE () (, ) | | (2) | | | (3) | for do | | (4) | create a singleton pattern | | (5) | | | (6) | while () do | | (7) | | | (8) | end while | | (9) | ifthen | | (10) | add to | | (11) | end if | | (12) | end for | | (13) | sort the patterns in by | | (14) | return | | (15) | end function |
|