Research Article
Splitting Long Event Sequences Drawn from Cyclic Processes for Discovering Workflow Nets
Input: S′, σ, θ | Output: S′, θ | 1. σ′ ← ∅; start ← 0; end ← 0; first ← 0; | 2. ∀ σi ∈ S′: | 3. start ← 0 | 4. ∀ tj ∈ σi: // tracking the symbols of σi | 5. If tj ∈ (σ) then | 6. If first = 0 then | 7. start ← j; first ← 1; | 8. σ′ ← σ′ ∙ tj | 9. else | 10. If (σ’) = (σ): //All the tasks in (σ) are in (σ’). | 11. end ← j – 1 | 12. θ ← θ ∪ {σ′} //Def. 12. A new sub-trace is appended to the macro-task θ | 13. S′ ← delSet(S′, σi, θ, start, end) //Def. 12 | Deletes the tasks in σi from start to end and replace them with θ in S′. | 14. else: σ′ ← ∅ | 15. Return S′, θ |
|