pm4py.algo.enhancement.sna.variants.pandas package

Submodules

pm4py.algo.enhancement.sna.variants.pandas.handover module

class pm4py.algo.enhancement.sna.variants.pandas.handover.Parameters(value)[source]

Bases: enum.Enum

An enumeration.

ACTIVITY_KEY = 'pm4py:param:activity_key'
BETA = 'beta'
RESOURCE_KEY = 'pm4py:param:resource_key'
pm4py.algo.enhancement.sna.variants.pandas.handover.apply(log, parameters=None)[source]

Calculates the HW metric

Parameters
  • log – Log

  • parameters

    Possible parameters of the algorithm:

    Paramters.BETA -> beta value as described in the Wil SNA paper

Returns

Tuple containing the metric matrix and the resources list. Moreover, last boolean indicates that the metric is directed.

Return type

tuple

pm4py.algo.enhancement.sna.variants.pandas.jointactivities module

pm4py.algo.enhancement.sna.variants.pandas.jointactivities.apply(log, parameters=None)[source]

Calculates the Joint Activities / Similar Task metric

Parameters
  • log – Log

  • parameters – Possible parameters of the algorithm

Returns

Tuple containing the metric matrix and the resources list. Moreover, last boolean indicates that the metric is directed.

Return type

tuple

pm4py.algo.enhancement.sna.variants.pandas.subcontracting module

class pm4py.algo.enhancement.sna.variants.pandas.subcontracting.Parameters(value)[source]

Bases: enum.Enum

An enumeration.

ACTIVITY_KEY = 'pm4py:param:activity_key'
N = 'n'
RESOURCE_KEY = 'pm4py:param:resource_key'
pm4py.algo.enhancement.sna.variants.pandas.subcontracting.apply(log, parameters=None)[source]

Calculates the Subcontracting metric

Parameters
  • log – Log

  • parameters

    Possible parameters of the algorithm:

    Parameters.N -> n of the algorithm proposed in the Wil SNA paper

Returns

Tuple containing the metric matrix and the resources list

Return type

tuple

pm4py.algo.enhancement.sna.variants.pandas.working_together module

pm4py.algo.enhancement.sna.variants.pandas.working_together.apply(log, parameters=None)[source]

Calculates the Working Together metric

Parameters
  • log – Log

  • parameters – Possible parameters of the algorithm

Returns

Tuple containing the metric matrix and the resources list. Moreover, last boolean indicates that the metric is not directed.

Return type

tuple

Module contents