Class LikelihoodAnalyzer


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static double getLogLikelihood​(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, StochasticNet net, int traceIndex)
      Computes the log likelihood of a trace given a net.
      static CaseStatisticsList getLogLikelihoods​(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, StochasticNet net)
      Computes the log likelihood of a trace given a net.
      • Methods inherited from class java.lang.Object

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

      • LikelihoodAnalyzer

        public LikelihoodAnalyzer()
    • Method Detail

      • getLogLikelihoods

        public static CaseStatisticsList getLogLikelihoods​(org.processmining.framework.plugin.PluginContext context,
                                                           org.deckfour.xes.model.XLog log,
                                                           StochasticNet net)
        Computes the log likelihood of a trace given a net. Replays all traces in the log.
        Parameters:
        context - PluginContext can be null
        log - XLog the log to be replayed in the model
        net - StochasticNet the stochastic net tells us which traces are more likely than others.
        Returns:
        list of loglikelihoods (same indices as in the log)
      • getLogLikelihood

        public static double getLogLikelihood​(org.processmining.framework.plugin.PluginContext context,
                                              org.deckfour.xes.model.XLog log,
                                              StochasticNet net,
                                              int traceIndex)
        Computes the log likelihood of a trace given a net. Only replays ONE trace!