Class LogLocationDelayInducer


  • public class LogLocationDelayInducer
    extends java.lang.Object
    This class takes a location unaware log and transforms it into a location aware log. The effect is that we create delays between activities due to resources moving around on a map. We take a graph containing the connections between different areas and the distances between these areas as edge weights.

    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.

    Author:
    Andreas Rogge-Solti
    • Constructor Detail

      • LogLocationDelayInducer

        public LogLocationDelayInducer()
    • Method Detail

      • induceLocationDelay

        public org.deckfour.xes.model.XLog induceLocationDelay​(org.deckfour.xes.model.XLog log,
                                                               WorldConfiguration wc,
                                                               StochasticNet net)
      • writeRecordsToFile

        protected void writeRecordsToFile​(com.google.common.collect.SortedMultiset<Record> sortedRecords,
                                          java.lang.String fileName)