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

Relax constraint aimed at precedence of the included use cases #31

Open
jiri-vinarek opened this issue Jan 20, 2015 · 0 comments
Open
Assignees

Comments

@jiri-vinarek
Copy link
Member

Current version of FOAM tool has following limitation: When use cases A includes use case B, then all use cases that has use case B in its precedence (prec(B)) must be also in precedence of A (prec(B) must be subset of prec(A)).

Reason for this restriction is an ambiguity of the precedence relation within include - it is not clear when the preceded use case of the included use case must be executed.

This limitation restricts writing of the "high-level" use cases.

Solution is to relax this restriction - use case that is in prec(B) must be in prec(A) OR it had to be executed before the inclusion (by prior include).
For each included use case X with non-empty precedence set following formula will be added:

LTL exec(X) -> O ( exec(prec(X)[0]) & exec(prec(X)[1]) & ... & exec(prec(X)[n]) )

img_20150119_121019257

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

No branches or pull requests

1 participant