pm4py.statistics.passed_time.log.variants.prepost module#

pm4py.statistics.passed_time.log.variants.prepost.apply(log: EventLog, activity: str, parameters: Dict[Any, Any] | None = None) Dict[str, Any][source]#

Gets the time passed from each preceding activity and to each succeeding activity

Parameters:
  • log – Log

  • activity – Activity that we are considering

  • parameters – Possible parameters of the algorithm

Returns:

Dictionary containing a ‘pre’ key with the list of aggregated times from each preceding activity to the given activity and a ‘post’ key with the list of aggregates times from the given activity to each succeeding activity

Return type:

dictio