LossyCountingBudgetSplitMinerminer=newLossyCountingBudgetSplitMiner(10,// the budget for cases10,// the budget for relations0.01,// concurrency threshold0.01,// the frequency threshold5);// the sliding window sizeStreamExecutionEnvironmentenv=StreamExecutionEnvironment.getExecutionEnvironment();env.addSource(newStringTestSource("ABCDF","ABCEF")).keyBy(BEvent::getProcessName).flatMap(miner).addSink(newSinkFunction<BPMNTemplateResponse>(){publicvoidinvoke(BPMNTemplateResponsevalue,Contextcontext)throwsException{PaliaLikeBPMNDiagramGenerator.fromBPMNTemplate("process",value.getBpmnTemplate(),"output.svg");}});env.execute();
This code will produce the following model:
Scientific literature
The techniques implemented in this package are described in: