pm4py.objects.process_tree.utils.regex module#

pm4py.objects.process_tree.utils.regex.pt_to_regex(tree, rec_depth=0, shared_obj=None, parameters=None)[source]#

Transforms a process tree to a regular expression

NB: The conversion is not yet working with trees containing an AND and/or an OR operator!

Parameters:
  • tree – Process tree

  • parameters – Possible parameters of the algorithm