This miner can be used to extract a model to be used with the Soft Conformance technique. These models are not necessarily referring to the control-flow (e.g., they can be based on the social network of handover of work).
This miner extracts just a dependency map leveraging the directly follows relations observed in the stream. Once a XesSource is available, the miner can be configured and used as follows:
PDFAMinerminer=newPDFAMiner();miner.setModelRefreshRate(1);// configure how ofter the mining algorithm should emit a new modelStreamExecutionEnvironmentenv=StreamExecutionEnvironment.getExecutionEnvironment();env.addSource(newStringTestSource("AABC","ABC","ABC","ABC")).keyBy(BEvent::getProcessName).flatMap(miner).addSink(newSinkFunction<PDFA>(){publicvoidinvoke(PDFAvalue,Contextcontext)throwsException{PDFAVisualizer.getDot(value).exportToSvg(newFile("output.svg"));};});env.execute();
This code will produce the following model:
Scientific literature
The techniques implemented in this package are described in: