Exercise 4

For this exercise we will use the traces shown below which are stored in exercise4.xes.

1x Case1 a b c d f
1x Case2 a c b d f
1x Case3 a b d c f
1x Case4 a c d b f
1x Case5 a d e f
1x Case6 a e d f
  1. Since it is always a good idea to inspect the event log at hand, inspect exercise4.xes to get an idea of its contents. What is remarkable about this event log?
  2. Try to construct a Petri net by hand which can replay the traces recorded in exercise4.xes. Use 6 transitions that represent the actions A through F. Try to allow as little extra behavior as possible (e.g. no ‘flower’-nets).
  3. Now create three Petri nets using the following plug-ins:
    1. As in exercises 13, first create a transition system from exercise4.xes and then create a petri net from the transition system;
    2. Run the alpha-algorithm on exercise4.xes;
    3. Run the ILP Miner on exercise4.xes.
  4. Compare the three Petri nets created by the different algorithms. Are there any fundamental differences or are they bisimilar? Why do you think that there is a difference between (some of) the Petri nets?
  5. Now run the Heuristics Miner on exercise4.xes. Is this a Petri net? What is different?
    1. Create a new visualization of the HeuristicsNet that shows the join and split semantics. Is this a similar net as the Petri nets from the previous steps?
  6. Now run the Genetic Miner on exercise4.xes. Why is the result with the default settings so poor? Try to improve the setting and get a result with a fitness of at least 0.8.

Solutions

  1. One of the most remarkable things is that all events have the same date and time.
  2. See the results of the Petri net discovery plug-ins performed for the next question in the figures below.
    1. The expected results are shown in the figures below.
    1. The expected result is shown in the figure below.
    1. The expected result is shown in the figure below.
  1. The resulting Petri nets of the alpha-algorithm and the ILP Miner are the same. The one converted from the Transition System Miner result is different however. The reason for this is that the alpha-algorithm and the ILP Miner only allow for each event to be present only once. In the transition system events are present multiple times. During the conversion of the transition system to a Petri net not all events are merged, therefore the resulting Petri net looks different but describes exactly the same behavior.
  2. The result of the Heuristics Miner, as shown in the figure below, is not a Petri net. The net only indicates direct relationships without specifying the split and join semantics.
    1. To visualize the Heuristics net from the previous action with the split and join semantics we need to select the visualization option as shown in the tope figure below. The resulting net then shows the split and join semantics, as shown in the bottom figure below. The resulting net is essentially the same as the Petri nets that resulted from the alpha-algorithm and the ILP Miner.
  1. In the top figure below the result with the default settings for the Genetic Miner is shown. We increased the number of iterations from 2 to 200 to get a model with a fitness of 0.875. In the bottom figure below the resulting model is shown.