Skip to content

fix: mutex group transformation to logic#36

Open
Bjarkehp wants to merge 1 commit intoflamapy:developfrom
Bjarkehp:pl-model-mutex
Open

fix: mutex group transformation to logic#36
Bjarkehp wants to merge 1 commit intoflamapy:developfrom
Bjarkehp:pl-model-mutex

Conversation

@Bjarkehp
Copy link

@Bjarkehp Bjarkehp commented Mar 6, 2026

  • Added mutex.uvl, a model including a mutex group, to the resources.
  • Added mutex.uvl to test_bdd_metamodel.py
  • Fixed _get_mutex_formula in pl_model.py so that the transformation to logic is sound.

The transformation creates two sub formulas, the first for exactly one selected child, the second for no selected children. The final formula states that either of the sub formulas must be true, and that the parent must be selected for one child to be selected.

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