pm4py.objects.log.util.artificial module#

class pm4py.objects.log.util.artificial.Parameters(*values)[source]#

Bases: Enum

ACTIVITY_KEY = 'pm4py:param:activity_key'#
TIMESTAMP_KEY = 'pm4py:param:timestamp_key'#
PARAM_ARTIFICIAL_START_ACTIVITY = 'pm4py:param:art_start_act'#
PARAM_ARTIFICIAL_END_ACTIVITY = 'pm4py:param:art_end_act'#
pm4py.objects.log.util.artificial.insert_artificial_start_end(log: EventLog, parameters: Dict[Any, Any] | None = None) EventLog[source]#

Inserts the artificial start/end activities in an event log

Parameters:

log – Event log parameters

Parameters of the algorithm, including: - Parameters.ACTIVITY_KEY: the activity - Parameters.TIMESTAMP_KEY: the timestamp

Returns:

Enriched log

Return type:

log