Class AnomalousIntervalsComputerPlugin
- java.lang.Object
-
- org.processmining.plugins.stochasticpetrinet.analyzer.anomaly.AnomalousIntervalsComputerPlugin
-
public class AnomalousIntervalsComputerPlugin extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AnomalousIntervalsComputerPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnomalyIntervalscomputeAnomalyIntervals(org.processmining.contexts.uitopia.UIPluginContext context, StochasticNet net)voidexportAnomaliesToJSON(org.processmining.framework.plugin.PluginContext context, AnomalyIntervals intervals, java.io.File file)java.lang.StringgetJSONForAnomalies(java.util.Map<org.processmining.models.graphbased.directed.petrinet.elements.Transition,java.util.List<org.processmining.framework.util.Pair<java.lang.Double,java.lang.Double>>> anomalyList, java.lang.String name, java.lang.Double anomalyRate)Returns a JSON-Object containing the anomalous regions supplied as parameter
-
-
-
Method Detail
-
exportAnomaliesToJSON
public void exportAnomaliesToJSON(org.processmining.framework.plugin.PluginContext context, AnomalyIntervals intervals, java.io.File file) throws java.lang.Exception- Throws:
java.lang.Exception
-
getJSONForAnomalies
public java.lang.String getJSONForAnomalies(java.util.Map<org.processmining.models.graphbased.directed.petrinet.elements.Transition,java.util.List<org.processmining.framework.util.Pair<java.lang.Double,java.lang.Double>>> anomalyList, java.lang.String name, java.lang.Double anomalyRate)Returns a JSON-Object containing the anomalous regions supplied as parameter- Parameters:
anomalyList- Map associating Pairs of Doubles (anomalous intervals) to a transitionname- the name of the model that contains the transitions- Returns:
- String formatted as JSON
-
computeAnomalyIntervals
public AnomalyIntervals computeAnomalyIntervals(org.processmining.contexts.uitopia.UIPluginContext context, StochasticNet net)
-
-