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

Submodules

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

This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).

PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PM4Py is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.

class pm4py.algo.enhancement.sna.variants.pandas.handover.Parameters[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

This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).

PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PM4Py is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.

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

This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).

PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PM4Py is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.

class pm4py.algo.enhancement.sna.variants.pandas.subcontracting.Parameters[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

This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).

PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PM4Py is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.

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

This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).

PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PM4Py is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.