pm4py.algo.conformance.footprints package#

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/>.

Subpackages#

Submodules#

pm4py.algo.conformance.footprints.algorithm 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.conformance.footprints.algorithm.Variants(value)[source]#

Bases: Enum

An enumeration.

LOG_MODEL = <module 'pm4py.algo.conformance.footprints.variants.log_model' from 'C:\\Users\\berti\\pm4py-core\\pm4py\\algo\\conformance\\footprints\\variants\\log_model.py'>#
LOG_EXTENSIVE = <module 'pm4py.algo.conformance.footprints.variants.log_extensive' from 'C:\\Users\\berti\\pm4py-core\\pm4py\\algo\\conformance\\footprints\\variants\\log_extensive.py'>#
TRACE_EXTENSIVE = <module 'pm4py.algo.conformance.footprints.variants.trace_extensive' from 'C:\\Users\\berti\\pm4py-core\\pm4py\\algo\\conformance\\footprints\\variants\\trace_extensive.py'>#
pm4py.algo.conformance.footprints.algorithm.apply(log_footprints: Union[Dict[str, Any], List[Dict[str, Any]]], model_footprints: Dict[str, Any], variant=Variants.LOG_MODEL, parameters: Optional[Dict[Any, Any]] = None) Union[List[Dict[str, Any]], Dict[str, Any]][source]#

Apply footprints conformance between a log footprints object and a model footprints object

Parameters#

log_footprints

Footprints of the log

model_footprints

Footprints of the model

parameters
Parameters of the algorithm, including:
  • Parameters.STRICT => strict check of the footprints

Returns#

violations

Set/dictionary of all the violations between the log footprints and the model footprints, OR list of case-per-case violations