Code, data and evaluation results for paper:
Lu Y., Chen Q., Poon S. (2021) A Novel Approach to Discover Switch Behaviours in Process Mining. In: Leemans S., Leopold H. (eds) Process Mining Workshops. ICPM 2020. Lecture Notes in Business Information Processing, vol 406. Springer, Cham. https://doi.org/10.1007/978-3-030-72693-5_5
**The code files are adapted from the "ProcessTree" package and "InductiveMinerDeprecated" package directly in the ProM framework
- In eclipse, import the "InductiveMinerDeprecated" package from ProM
- Replace CutFinderIMExclusiveChoice.java in org.processmining.plugins.InductiveMiner.mining.cuts.IM
- Replace IMProcessTree.java in org.processmining.plugins.InductiveMiner.plugins
- Replace Miner.java in org.processmining.plugins.InductiveMiner.mining
- Replace MiningParameters.java in org.processmining.plugins.InductiveMiner.mining
- Replace CutFinderIM.java in org.processmining.plugins.InductiveMiner.mining.cuts.IM
- Run ProM and use "Mine Process Tree with Inductive Miner" to get the process tree, select IM or IMf as the discovery algorithm, export the process tree as a file
- Take a look at the console in eclipse, all the switch behaviours detected will appear under the "Switch behaviours after model repair" line
- Copy all the switch behaviours to a text file
- In eclipse, import the "ProcessTree" package from ProM
- Replace ProcessTree2Petrinet.java in org.processmining.processtree.conversion
- Run ProM, import the process tree file we get when discovering switch process trees
- Run the "Convert Process Tree to Petri Net 2"
- In the console of eclipse, copy the switch behaviours we get in the last part into the console line by line
Example format:
Activity1, Activity2
Activity3, Activity4
...... - When you finish, type "finish" in the console and press enter
- You will see the petri-net in ProM
- Trun on: comment the line 404 in CutFinderIMExclusiveChoice.java
- Trun off: Enable the code in line 404 in CutFinderIMExclusiveChoice.java