# pm4py.evaluation.generalization package

## pm4py.evaluation.generalization.evaluator module

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.evaluation.generalization.evaluator.Variants(value)[source]

Bases: enum.Enum

An enumeration.

GENERALIZATION_TOKEN = <module 'pm4py.evaluation.generalization.variants.token_based' from 'C:\\Users\\berti\\pm4py-core\\pm4py\\evaluation\\generalization\\variants\\token_based.py'>
pm4py.evaluation.generalization.evaluator.apply(log, petri_net, initial_marking, final_marking, parameters=None, variant=Variants.GENERALIZATION_TOKEN)[source]

Deprecated since version 2.2.5: This will be removed in 3.0. Use the pm4py.algo.evaluation.generalization package

## pm4py.evaluation.generalization.parameters module

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.evaluation.generalization.parameters.Parameters(value)[source]

Bases: enum.Enum

An enumeration.

ACTIVITY_KEY = 'pm4py:param:activity_key'