pm4py.algo.filtering.log.between package

Submodules

pm4py.algo.filtering.log.between.between_filter module

class pm4py.algo.filtering.log.between.between_filter.Parameters(value)[source]

Bases: enum.Enum

An enumeration.

ACTIVITY_KEY = 'pm4py:param:activity_key'
pm4py.algo.filtering.log.between.between_filter.apply(log: pm4py.objects.log.obj.EventLog, act1: str, act2: str, parameters: Optional[Dict[str, Any]] = None)pm4py.objects.log.obj.EventLog[source]

Given an event log, filters all the subtraces going from an event with activity “act1” to an event with activity “act2”

Parameters
  • log – Event log

  • act1 – First activity

  • act2 – Second activity

  • parameters – Parameters of the algorithm, including: - Parameters.ACTIVITY_KEY => activity key

Returns

Log with all the subtraces going from “act1” to “act2”

Return type

filtered_log

Module contents