Class ProtoTypeSelectionAlgo_Version2


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.deckfour.xes.model.XLog apply​(org.deckfour.xes.model.XLog InputLog, PrototypeV2Parameter parameters)  
      static java.lang.String apply2​(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, org.processmining.models.graphbased.directed.petrinet.Petrinet net, PrototypeV2Parameter parameters, org.processmining.plugins.connectionfactories.logpetrinet.TransEvClassMapping mapping)  
      static AlignmentReplayResult calculateAlignmentWithICC​(org.processmining.framework.plugin.PluginContext context, IncrementalReplayer replayer, org.processmining.models.graphbased.directed.petrinet.PetrinetGraph net, org.deckfour.xes.model.XLog log, IccParameters parameters, org.processmining.plugins.connectionfactories.logpetrinet.TransEvClassMapping mapping)  
      static java.util.HashMap<java.lang.Integer,​java.lang.Integer> Cluster​(double[][] distances, float[] variantFreq, java.util.HashMap<java.lang.Integer,​java.lang.Integer> chosenTraces, java.util.List<java.lang.Integer> sampledList, int K, int Rep)  
      static double ComputeFitness​(double[] AlignCost, float[] variantFreq, double shortestPath, java.util.HashMap<java.lang.Integer,​org.deckfour.xes.model.XTrace> variantMapper)  
      static int Coverage​(float[] variantFreq, java.util.HashMap<java.lang.Integer,​java.lang.Integer> selected)  
      static double[] doAlignment​(nl.tue.alignment.ReplayerParameters RepParameters, org.processmining.acceptingpetrinet.models.AcceptingPetriNet TempModel, java.util.HashMap<java.lang.Integer,​org.deckfour.xes.model.XTrace> VariantMapper, org.deckfour.xes.classification.XEventClasses classes, org.processmining.plugins.connectionfactories.logpetrinet.TransEvClassMapping mapping)  
      static java.util.HashMap<java.lang.Integer,​java.util.List<java.lang.Integer>> FindCluster​(double[][] distanceMatrix, java.util.HashMap<java.lang.Integer,​java.lang.Integer> SelectedList, java.util.HashMap<java.lang.Integer,​java.lang.Integer> chosenTraces)  
      static java.util.HashMap<java.lang.Integer,​java.lang.Integer> FindFittedTraces​(double[] alignmentCost, java.util.HashMap<java.lang.Integer,​java.lang.Integer> fittedTracesList2)  
      static org.processmining.acceptingpetrinet.models.AcceptingPetriNet findModel​(org.deckfour.xes.model.XLog TraceLog, java.lang.String method)  
      static java.util.HashMap<java.lang.Integer,​java.lang.Integer> FrequencSelection​(float[] variantFreq, java.util.HashMap<java.lang.Integer,​java.lang.Integer> chosenTraces, java.util.List<java.lang.Integer> sampledList, int K)  
      static double levenshteinDistance​(java.lang.CharSequence lhs, java.lang.CharSequence rhs)  
      static ProtoTypeSelectionAlgo_Version2.AlignObj levenshteinDistanceCost​(java.lang.CharSequence lhs, java.lang.CharSequence rhs)  
      static double levenshteinDistanceCost2​(java.lang.CharSequence lhs, java.lang.CharSequence rhs)  
      static void quicksort​(float[] main, int[] index)  
      static void quicksort​(float[] a, int[] index, int left, int right)  
      static java.util.HashMap<java.lang.Integer,​java.lang.Integer> UpdateKMedoids​(java.util.HashMap<java.lang.Integer,​java.lang.Integer> SelectedList, double[][] distanceMatrix, float[] variantFreq, java.util.HashMap<java.lang.Integer,​java.util.List<java.lang.Integer>> Clusters, java.util.HashMap<java.lang.Integer,​java.lang.Integer> chosenTraces)  
      • Methods inherited from class java.lang.Object

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

      • ProtoTypeSelectionAlgo_Version2

        public ProtoTypeSelectionAlgo_Version2()
    • Method Detail

      • apply

        public static org.deckfour.xes.model.XLog apply​(org.deckfour.xes.model.XLog InputLog,
                                                        PrototypeV2Parameter parameters)
      • Coverage

        public static int Coverage​(float[] variantFreq,
                                   java.util.HashMap<java.lang.Integer,​java.lang.Integer> selected)
      • FindFittedTraces

        public static java.util.HashMap<java.lang.Integer,​java.lang.Integer> FindFittedTraces​(double[] alignmentCost,
                                                                                                    java.util.HashMap<java.lang.Integer,​java.lang.Integer> fittedTracesList2)
      • FrequencSelection

        public static java.util.HashMap<java.lang.Integer,​java.lang.Integer> FrequencSelection​(float[] variantFreq,
                                                                                                     java.util.HashMap<java.lang.Integer,​java.lang.Integer> chosenTraces,
                                                                                                     java.util.List<java.lang.Integer> sampledList,
                                                                                                     int K)
      • Cluster

        public static java.util.HashMap<java.lang.Integer,​java.lang.Integer> Cluster​(double[][] distances,
                                                                                           float[] variantFreq,
                                                                                           java.util.HashMap<java.lang.Integer,​java.lang.Integer> chosenTraces,
                                                                                           java.util.List<java.lang.Integer> sampledList,
                                                                                           int K,
                                                                                           int Rep)
      • ComputeFitness

        public static double ComputeFitness​(double[] AlignCost,
                                            float[] variantFreq,
                                            double shortestPath,
                                            java.util.HashMap<java.lang.Integer,​org.deckfour.xes.model.XTrace> variantMapper)
      • doAlignment

        public static double[] doAlignment​(nl.tue.alignment.ReplayerParameters RepParameters,
                                           org.processmining.acceptingpetrinet.models.AcceptingPetriNet TempModel,
                                           java.util.HashMap<java.lang.Integer,​org.deckfour.xes.model.XTrace> VariantMapper,
                                           org.deckfour.xes.classification.XEventClasses classes,
                                           org.processmining.plugins.connectionfactories.logpetrinet.TransEvClassMapping mapping)
      • findModel

        public static org.processmining.acceptingpetrinet.models.AcceptingPetriNet findModel​(org.deckfour.xes.model.XLog TraceLog,
                                                                                             java.lang.String method)
      • apply2

        public static java.lang.String apply2​(org.processmining.framework.plugin.PluginContext context,
                                              org.deckfour.xes.model.XLog log,
                                              org.processmining.models.graphbased.directed.petrinet.Petrinet net,
                                              PrototypeV2Parameter parameters,
                                              org.processmining.plugins.connectionfactories.logpetrinet.TransEvClassMapping mapping)
      • FindCluster

        public static java.util.HashMap<java.lang.Integer,​java.util.List<java.lang.Integer>> FindCluster​(double[][] distanceMatrix,
                                                                                                               java.util.HashMap<java.lang.Integer,​java.lang.Integer> SelectedList,
                                                                                                               java.util.HashMap<java.lang.Integer,​java.lang.Integer> chosenTraces)
      • UpdateKMedoids

        public static java.util.HashMap<java.lang.Integer,​java.lang.Integer> UpdateKMedoids​(java.util.HashMap<java.lang.Integer,​java.lang.Integer> SelectedList,
                                                                                                  double[][] distanceMatrix,
                                                                                                  float[] variantFreq,
                                                                                                  java.util.HashMap<java.lang.Integer,​java.util.List<java.lang.Integer>> Clusters,
                                                                                                  java.util.HashMap<java.lang.Integer,​java.lang.Integer> chosenTraces)
      • levenshteinDistance

        public static double levenshteinDistance​(java.lang.CharSequence lhs,
                                                 java.lang.CharSequence rhs)
      • levenshteinDistanceCost2

        public static double levenshteinDistanceCost2​(java.lang.CharSequence lhs,
                                                      java.lang.CharSequence rhs)
      • quicksort

        public static void quicksort​(float[] main,
                                     int[] index)
      • quicksort

        public static void quicksort​(float[] a,
                                     int[] index,
                                     int left,
                                     int right)
      • calculateAlignmentWithICC

        public static AlignmentReplayResult calculateAlignmentWithICC​(org.processmining.framework.plugin.PluginContext context,
                                                                      IncrementalReplayer replayer,
                                                                      org.processmining.models.graphbased.directed.petrinet.PetrinetGraph net,
                                                                      org.deckfour.xes.model.XLog log,
                                                                      IccParameters parameters,
                                                                      org.processmining.plugins.connectionfactories.logpetrinet.TransEvClassMapping mapping)