Skip to content

Integration of bpmn2constraints into Declare4Py #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

MarcusRostSAP
Copy link

WIP

This is my idea for a integration of bpmn2constraints into Declare4Py.

There is some less refined aspects of the code, such as the function parse_from_diagram in LTLModel, this was due to parse_from_string not working on the event log for the sepsis cases.

I did not manage to get an example of conformance checking working with the DECLARE model, this is presumably because the DeclareAnalyzer didn't support some templates for DECLARE. I don't know if this is subject to change or if I should modify our DECLARE code.

There is an example tutorial located in Declare4Py/Utils/bpmnconstraints/tutorial/bpmn2constraints.ipynb

Some pruning is expected to be done before the actual merge, but let me know what you think!

@MarcusRostSAP
Copy link
Author

Added an example of the code for MPDeclareAnalyzer for clarity.

The usage is returned with:
The checker function for template Succession has not been implemented yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant