Research Article

Cross-Organization Emergency Response Process Mining: An Approach Based on Petri Nets

Algorithm 2

Collaboration patterns mining.
INPUT: two RMPNs and
OUTPUT: collaboration pattern model
(1), , , , , , , , , ; //initialization
(2) If //mining messages exchange pattern
(3)  For each
(4)   ;
(5)   If
(6)    ;
(7)    For each
(8)     ;
(9)    End for
(10)   End if
(11)   If
(12)    ;
(13)    For each
(14)     ;
(15)    End for
(16)   End if
(17)  End for
(18) End if
(19) If //mining resource sharing pattern
(20)  For each
(21)   ;
(22)   ;
(23)   For each
(24)    ;
(25)   End for
(26)  End for
(27) End if
(28) If //mining task synchronization pattern
(29)  ;
(30) End if
(31);
(32) Return .    //return mined collaboration patterns