-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Arian Weber
authored and
Arian Weber
committed
Mar 16, 2024
1 parent
7d7a619
commit 6f44710
Showing
5 changed files
with
42 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
model :NonAtomicHazard do | ||
|
||
persistent error :KeysForgotten | ||
|
||
graph :Person do | ||
states :inside, :outside, init: :inside | ||
transition :inside => :outside | ||
transition :outside => :inside do | ||
guard "KeysForgotten == No" | ||
end | ||
end | ||
|
||
# This does not work as at any point the fault could not have occurred | ||
# (KeysForgotten == No) already but then it happens at a later point | ||
# Expected Cut Sets: { :"" } | ||
# hazard "The person can't get in" => :"G Person == outside" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters