public class LogLocationDelayInducer
extends java.lang.Object
1. We make one pass through the log to decide which activities are performed where. This is given by a probabilistic mapping of location options per activity.
2. We check for each trace and every activity: where have the resources been before, and how much time has passed since? -> if the resources were seen somewhere else, and the time that passed since is big enough to include a passage time, then it is fine. -> otherwise, we need to shift the activity by the passage time of the latest arriving resource. -> This shift is transitive to all activities having some transitive relation to the current one.
Constructor and Description |
---|
LogLocationDelayInducer() |
Modifier and Type | Method and Description |
---|---|
protected double |
getDistance(Activity last,
Activity activity,
WorldConfiguration wc) |
org.deckfour.xes.model.XLog |
induceLocationDelay(org.deckfour.xes.model.XLog log,
WorldConfiguration wc,
StochasticNet net) |
protected void |
visualizeGraph(edu.uci.ics.jung.graph.Graph<Activity,LocationChange> dependencyGraph,
boolean show,
java.util.Map<Activity,java.lang.Number> earliestStartTimes,
StochasticNet.TimeUnit unit,
Activity root) |
protected void |
writeRecordsToFile(com.google.common.collect.SortedMultiset<Record> sortedRecords,
java.lang.String fileName) |
public org.deckfour.xes.model.XLog induceLocationDelay(org.deckfour.xes.model.XLog log, WorldConfiguration wc, StochasticNet net)
protected void writeRecordsToFile(com.google.common.collect.SortedMultiset<Record> sortedRecords, java.lang.String fileName)
protected void visualizeGraph(edu.uci.ics.jung.graph.Graph<Activity,LocationChange> dependencyGraph, boolean show, java.util.Map<Activity,java.lang.Number> earliestStartTimes, StochasticNet.TimeUnit unit, Activity root)
protected double getDistance(Activity last, Activity activity, WorldConfiguration wc)