Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Preloaded Examples
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Monterey Phoenix
MP Model Collection
Preloaded Examples
Commits
db72a8dc
Commit
db72a8dc
authored
3 years ago
by
Giammarco, Kristin M
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
b578ffb2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Example51_Autonomous_Car.mp
+58
-0
58 additions, 0 deletions
Example51_Autonomous_Car.mp
with
58 additions
and
0 deletions
Example51_Autonomous_Car.mp
0 → 100644
+
58
−
0
View file @
db72a8dc
/* A model of an autonomous car that was used to support a failure mode
analysis of autonomous automobile technology (student project).
Created by G. Kaminski, November 2015
*/
SCHEMA Autonomous_Car
/*Actors*/
ROOT Car: Search_for_Destination
( Prompt_for_New_Destination |
Find_Destination )
Begin_Trip
Drive
Reach_Destination
Confirm_Trip_Complete
( End_Trip |
Start_New_Trip);
Find_Destination: Confirm_Destination_Found;
ROOT User: Enter_Car
Enter_Desired_Destination
( Enter_New_Destination |
Confirm_Destination )
( Confirm_Destination_Reached |
Destination_Not_Reached );
/*Interactions*/
COORDINATE $a: Enter_Desired_Destination FROM User,
$b: Search_for_Destination FROM Car
DO ADD $a PRECEDES $b; OD;
COORDINATE $a: Prompt_for_New_Destination FROM Car,
$b: Enter_New_Destination FROM User
DO ADD $a PRECEDES $b; OD;
COORDINATE $a: Confirm_Trip_Complete FROM Car,
$b: ( Confirm_Destination_Reached |
Destination_Not_Reached ) FROM User
DO ADD $a PRECEDES $b; OD;
COORDINATE $a: Confirm_Destination_Found FROM Car,
$b: Confirm_Destination FROM User
DO ADD $a PRECEDES $b; OD;
COORDINATE $a: ( Enter_New_Destination |
Confirm_Destination ) FROM User,
$b: Begin_Trip FROM Car
DO ADD $a PRECEDES $b; OD;
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment