To prevent spam users, you can only post on this forum after registration, which is by invitation. If you want to post on the forum, please send me a mail (h DOT m DOT w DOT verbeek AT tue DOT nl) and I'll send you an invitation in return for an account.

Randomly shuffling a Log

I built a Plugin for Prom which takes a Log, and now I want to evaluate it.
As the runtime of the Plugin depends highly on the structure of the Log and order of the traces I'd like to shuffle it a few times and use the new Log as Input for my Plugin again. 
Is there any Plugin that takes a Logfile and randomly scrambles the traces and returns the result?

Comments

  • Dear MartinB,

    Thanks for your question.

    I think there is no plugin which can shuffle logs. However I think it is not difficult to do it by yourself. You can parse an input log using functions in the "XesXmlParser" file in the OpenXES package (https://svn.win.tue.nl/repos/prom/OpenXES/) and get a log object (a list of traces). Then you can shuffle the list as you like and output a new log with a new order of traces.

    Please let me know if you have more questions!
    Guangming Li
    PhD student in Process Mining at Eindhoven University of Technology
Sign In or Register to comment.