Class NBestOptAlignmentsNoModelMoveGraphSamplingAlg

  • All Implemented Interfaces:
    org.processmining.plugins.petrinet.replayer.matchinstances.algorithms.express.NBestAlignmentsAlg, org.processmining.plugins.petrinet.replayer.matchinstances.algorithms.IPNMatchInstancesLogReplayAlgorithm

    public class NBestOptAlignmentsNoModelMoveGraphSamplingAlg
    extends AllOptAlignmentsGraphSamplingAlg
    implements org.processmining.plugins.petrinet.replayer.matchinstances.algorithms.express.NBestAlignmentsAlg
    Author:
    aadrians Mar 15, 2013
    • Field Detail

      • expectedAlignments

        protected int expectedAlignments
    • Constructor Detail

      • NBestOptAlignmentsNoModelMoveGraphSamplingAlg

        public NBestOptAlignmentsNoModelMoveGraphSamplingAlg()
    • Method Detail

      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface org.processmining.plugins.petrinet.replayer.matchinstances.algorithms.IPNMatchInstancesLogReplayAlgorithm
        Specified by:
        toString in class AllOptAlignmentsGraphSamplingAlg
      • getHTMLInfo

        public java.lang.String getHTMLInfo()
        Description copied from interface: org.processmining.plugins.petrinet.replayer.matchinstances.algorithms.IPNMatchInstancesLogReplayAlgorithm
        HTML explanation of the algorithm
        Specified by:
        getHTMLInfo in interface org.processmining.plugins.petrinet.replayer.matchinstances.algorithms.IPNMatchInstancesLogReplayAlgorithm
        Specified by:
        getHTMLInfo in class AllOptAlignmentsGraphSamplingAlg
        Returns:
      • replayLog

        public org.processmining.plugins.petrinet.replayresult.PNMatchInstancesRepResult replayLog​(org.processmining.framework.plugin.PluginContext context,
                                                                                                   org.processmining.models.graphbased.directed.petrinet.PetrinetGraph net,
                                                                                                   org.processmining.models.semantics.petrinet.Marking initMarking,
                                                                                                   org.processmining.models.semantics.petrinet.Marking finalMarking,
                                                                                                   org.deckfour.xes.model.XLog log,
                                                                                                   org.processmining.plugins.connectionfactories.logpetrinet.TransEvClassMapping mapping,
                                                                                                   java.lang.Object[] parameters)
                                                                                            throws nl.tue.astar.AStarException
        Description copied from interface: org.processmining.plugins.petrinet.replayer.matchinstances.algorithms.IPNMatchInstancesLogReplayAlgorithm
        Method to replay a whole log on a model and return all best matching instance between each trace and the model Assumption: all markings are given, no need to check for connection to the original net
        Specified by:
        replayLog in interface org.processmining.plugins.petrinet.replayer.matchinstances.algorithms.IPNMatchInstancesLogReplayAlgorithm
        Specified by:
        replayLog in class AllOptAlignmentsGraphSamplingAlg
        Returns:
        Throws:
        nl.tue.astar.AStarException
      • recordToResult

        protected org.processmining.plugins.replayer.replayresult.AllSyncReplayResult recordToResult​(PDelegate d,
                                                                                                     org.deckfour.xes.model.XTrace trace,
                                                                                                     nl.tue.astar.Trace filteredTrace,
                                                                                                     java.util.Collection<PRecord> records,
                                                                                                     int traceIndex,
                                                                                                     int states,
                                                                                                     int queuedStates,
                                                                                                     boolean isReliable,
                                                                                                     long milliseconds,
                                                                                                     java.util.List<java.lang.Object> suffixNodeInstance,
                                                                                                     java.util.List<org.processmining.plugins.petrinet.replayresult.StepTypes> suffixStepTypes,
                                                                                                     org.processmining.plugins.replayer.replayresult.AllSyncReplayResult prevResult,
                                                                                                     java.util.Map<nl.tue.astar.Record,​java.util.List<nl.tue.astar.Record>> mapToStatesWSameSuffix)
        This method needs to be overridden because there is no need to compute the number of all optimal alignments as it is computed in the parent class
        Specified by:
        recordToResult in class AllOptAlignmentsGraphSamplingAlg
        Returns: