Class TimePredictorPlugin
- java.lang.Object
-
- org.processmining.plugins.stochasticpetrinet.prediction.TimePredictorPlugin
-
public class TimePredictorPlugin extends java.lang.ObjectThis is a simple time predictor based on a stochastic model. Restrictive assumption: Trace is replayable directly by model to get to the current marking state. (TODO: Leverage this by using a (stochastic) alignment of the observations to the model)Working procedure: - Go to current marking by simple replay in the model. - Simulate a number of traces to see end result
- Author:
- Andreas Rogge-Solti
-
-
Constructor Summary
Constructors Constructor Description TimePredictorPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.DoublecomputeRisk(org.processmining.contexts.uitopia.UIPluginContext context, StochasticNet model, org.deckfour.xes.model.XTrace observedEvents, java.util.Date currentTime, java.util.Date targetTime)java.lang.Doublepredict(org.processmining.contexts.uitopia.UIPluginContext context, StochasticNet model, org.deckfour.xes.model.XTrace observedEvents, java.util.Date currentTime)
-
-
-
Method Detail
-
predict
public java.lang.Double predict(org.processmining.contexts.uitopia.UIPluginContext context, StochasticNet model, org.deckfour.xes.model.XTrace observedEvents, java.util.Date currentTime)
-
computeRisk
public java.lang.Double computeRisk(org.processmining.contexts.uitopia.UIPluginContext context, StochasticNet model, org.deckfour.xes.model.XTrace observedEvents, java.util.Date currentTime, java.util.Date targetTime)
-
-