I'm working on a project that obtains a XLog file from the log of an application and passes it to ProM. What I need to do there is to obtain a diagram, which is estimated from the XLog. As the project is automated, the plugin to be used needs to be called from the CLI, and it is neccesary to be able to export the result obtained out of ProM (I mention this because I tried using Fuzzy Miner, but it cannot export its results). The application I use converts UML diagrams to code. Therefore, I would need to obtain a UML from a conversion.
However, as I could not find any plugin for generating UMLs, I decided to do it by using Petrinets. After generating the Petrinet and exporting it to my disk, what I do is use and XSLT to convert from the format of the Petrinet to a UML. Among all the possible petrinet converter plugins I found in ProM, ILP Miner gave the bests results (I tested it using the ProM UI application). However, as stated before, what I need is to use this plugin from the CLI. I have checked the list of possible functions to call from the CLI and found the following one:
ilp_miner(XLog, XLogInfo, ILPMinerSettings) -> (Petrinet, Marking)
I have no doubt regarding the first two parameters, at least for now. However, I do not know how I should define the ILPMinerSettings so they correspond to the ones that I tried from the UI (that is, the default ones).
I would also want to know if ILP is the best option regarding the creation of Petrinets. I decided to use it mainly because it did not replicate the states, but I would gladly hear if there is some other better option.
I would be really grateful to anyone that could either tell me what I need to set as the third parameter of the ilp_miner function or which method is the most adequate to extract Petrinets.