Class AnomalousIntervalsComputerPlugin


  • public class AnomalousIntervalsComputerPlugin
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      AnomalyIntervals computeAnomalyIntervals​(org.processmining.contexts.uitopia.UIPluginContext context, StochasticNet net)  
      void exportAnomaliesToJSON​(org.processmining.framework.plugin.PluginContext context, AnomalyIntervals intervals, java.io.File file)  
      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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AnomalousIntervalsComputerPlugin

        public AnomalousIntervalsComputerPlugin()
    • 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 transition
        name - 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)