Skip to content
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

Cycle detection bug #26

Open
kevin-delmas opened this issue Dec 19, 2024 · 2 comments
Open

Cycle detection bug #26

kevin-delmas opened this issue Dec 19, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@kevin-delmas
Copy link
Collaborator

The cycle detection seems to send false alarms, i.e. cycles that are not reachable for the identified transaction.
@Gaudeval Can you provide a MWE of that problem from the complex example on which the problem has been observed?

@kevin-delmas kevin-delmas added the bug Something isn't working label Dec 19, 2024
@Gaudeval
Copy link
Collaborator

Gaudeval commented Jan 7, 2025

There is a small example in the related branch. The issues seems to require a routing constraint to trigger (blockedBy in the example https://github.com/onera/pml-analyzer/tree/f83cce4e7c8bea75be3a6e7eea21606604e581b2/src/test/scala/onera/pmlanalyzer/pml/model/cycle)

A cycle is (correctly) detected between components which are not connected to the initiator, its target, or the blocking component.

I will add to the example to see if the issue also occurs with a more traditional cannotUseLink.

@Gaudeval
Copy link
Collaborator

Gaudeval commented Jan 8, 2025

I can confirm the issue also occurs with the cannotUseLink operator. So any routing constraint in the MWE will cause the unreachable cycle to be detected and reported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants