Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fit-alessandro-berti committed Nov 12, 2024
1 parent 511d999 commit 6931468
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion examples/wf_net_to_powl_alt.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,19 @@ def execute_script():
print(powl)
net, im, fm = pm4py.convert_to_petri_net(powl)

fitness = pm4py.fitness_alignments(log, net, im, fm)
print(fitness)
precision = pm4py.precision_alignments(log, net, im, fm)
print(precision)

powl2 = to_powl.apply(net, im, fm)
print(powl2)
net2, im2, fm2 = pm4py.convert_to_petri_net(powl2)

fitness = pm4py.fitness_alignments(log, net, im, fm)
fitness = pm4py.fitness_alignments(log, net2, im2, fm2)
print(fitness)
precision = pm4py.precision_alignments(log, net2, im2, fm2)
print(precision)


if __name__ == "__main__":
Expand Down

0 comments on commit 6931468

Please sign in to comment.