Class LikelihoodAnalyzer
- java.lang.Object
-
- org.processmining.plugins.stochasticpetrinet.analyzer.LikelihoodAnalyzer
-
public class LikelihoodAnalyzer extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description LikelihoodAnalyzer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static doublegetLogLikelihood(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 CaseStatisticsListgetLogLikelihoods(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, StochasticNet net)Computes the log likelihood of a trace given a net.
-
-
-
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-PluginContextcan be nulllog-XLogthe log to be replayed in the modelnet-StochasticNetthe 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!
-
-