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

Review current datatypes and add Array, map and set #19

Open
matheuslenke opened this issue May 14, 2024 · 0 comments
Open

Review current datatypes and add Array, map and set #19

matheuslenke opened this issue May 14, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@matheuslenke
Copy link
Owner

Example in KAOS:

Entity Library
Has available,checkedOut,lost: setOf[BookCopy]
coverageArea: setOf[Subject]
Invariant (∀lib:Library)(lib = available ∪ checkedOut ∪ lost
∧ available ∩ checkedOut = ∅ ∧ available ∩ lost = ∅
∧ checkedOut ∩ lost = ∅ ) ...
end Library
Relationship Borrowing
Links Borrower [Role Borrows, Card 0::N]
BookCopy [Role BorrowedBy, Card 0::1]
Invariant ( ∀lib:Library,bor:Borrower,bc:BookCopy)
(Borrowing(bor,bc) ∧ bc ∈ lib ⇒
bc ∈ lib.checkedOut ∧ ★Requesting(bor,bc)]
end Borrowing
@matheuslenke matheuslenke added this to the 0.4.0 milestone May 14, 2024
@matheuslenke matheuslenke added the enhancement New feature or request label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant