package com.pack.modeler.miners;

import au.edu.qut.processmining.miners.splitminer.SplitMiner;
import au.edu.qut.processmining.miners.splitminer.ui.dfgp.DFGPUIResult;
import au.edu.qut.processmining.miners.splitminer.ui.miner.SplitMinerUIResult;
import org.deckfour.xes.classification.XEventClassifier;
import org.deckfour.xes.model.XLog;
import org.processmining.models.graphbased.directed.bpmn.BPMNDiagram;

public class MySplitMiner implements MinerDef {
    @Override
    public BPMNDiagram generateBPMN(
                                    XLog log,
                                    XEventClassifier xEventClassifier,
                                    double percentileFrequencyThreshold,
                                    double parallelismsThreshold,
                                    DFGPUIResult.FilterType filterType,
                                    boolean parallelismsFirst,
                                    boolean replaceIORs,
                                    boolean removeLoopActivities,
                                    SplitMinerUIResult.StructuringTime structuringTime
    ) {
        SplitMiner sm = new SplitMiner();
        return sm.mineBPMNModel(
                                log,
                                xEventClassifier,
                                percentileFrequencyThreshold,
                                parallelismsThreshold,
                                filterType,
                                parallelismsFirst,
                                replaceIORs,
                                removeLoopActivities,
                                structuringTime
        );
    }
}
