Skip to content
Snippets Groups Projects
Commit a888af3e authored by Keane Reynolds's avatar Keane Reynolds
Browse files

Added a line directing people to the associated manual examples

parent b41f1f23
No related branches found
No related tags found
1 merge request!10Keane Merge
Showing
with 24 additions and 4 deletions
/* Example 01. Model of Simple Message Flow
See also: Example 1: Simple interaction pattern from the Monterey Phoenix System and Software Architecture and Workflow Modeling Language Manual
Event grammar rules for each root define derivations for event traces,
in this case a simple sequence of zero or more events for each root.
......
/* Example 01a. Model of Unreliable Message Flow
See also: Example 8: Unreliable Communication model from the Monterey Phoenix System and Software Architecture and Workflow Modeling Language Manual
We may want to specify behaviors when some messages get lost in the transition.
It can be done using ‘virtual’ events.
......
/* Example 02. Model of Data Flow
See also: Example 3: Data Flow model from the Monterey Phoenix System and Software Architecture and Workflow Modeling Language Manual
data items as behaviors
MP employs the Abstract Data Type (ADT) principle introduced by
......
/* Example 03. Model of ATM Withdrawal
See also: Example 4: Withdraw money from ATM model from the Monterey Phoenix System and Software Architecture and Workflow Modeling Language Manual
Integrated system and environment behaviors
MP separates models of component behaviors and component interactions
......
/* Example 04. Model of Stack Behavior
See also: Example 5: Stack behavior model from the Monterey Phoenix System and Software Architecture and Workflow Modeling Language Manual
The event trace is a set of events and the Boolean expressions
in MP can embrace the traditional predicate calculus notation. A set
......
/* Example 04a. Model of Stack Behavior
See also: Example 17: Stack behavior model with pop/push relationship visualized from the Monterey Phoenix System and Software Architecture and Workflow Modeling Language Manual
The event trace is a set of events and the Boolean expression constructs in MP
can support the traditional first order predicate calculus notation.
......
/* Example 04b. Model of Queue Behavior
See also: Example 18: Queue behavior model from the Monterey Phoenix System and Software Architecture and Workflow Modeling Language Manual
This rule specifies the behavior of a queue in terms of queue operations
enqueue and dequeue. It is assumed that initially Queue is empty.
......
/* Example 05. Model of Car Race
See also: Example 6: Car race model from the Monterey Phoenix System and Software Architecture and Workflow Modeling Language Manual
more coordination patterns:
- ordering of selected events in concurrent threads
......
/* Example 06. Model of Unreliable Channel
See also: Example 10: Communicating via unreliable channel model from the Monterey Phoenix System and Software Architecture and Workflow Modeling Language Manual
Assertion checking, Communicating via unreliable channel.
......
/* Example 07. Model of Unconstrained Stack
See also: Example 11: Testing/Debugging model’s behavior from the Monterey Phoenix System and Software Architecture and Workflow Modeling Language Manual
Trace annotation techniques
......
/* Example 08. Model of Employee Employer
See also: Example 13: Business process model from the Monterey Phoenix System and Software Architecture and Workflow Modeling Language Manual
The web site http://www.infoq.com/articles/bpelbpm
“Why BPEL is not the holy grail for BPM “
......
/* Example 09. Model of Pipe Filter
See also: Example 12: Pipe/Filter architecture model from the Monterey Phoenix System and Software Architecture and Workflow Modeling Language Manual
pipe/filter architecture model with 2 filters
assumptions:
......
/* Example 10. Model of Publish Subscribe
See also: Example 7: Publish/Subscribe architecture model from the Monterey Phoenix System and Software Architecture and Workflow Modeling Language Manual
Publisher sends a notification to all active Subscribers
when new information is available.
......
/* Example 11. Model of Ring Topology
See also: Example 16: User-defined relations from the Monterey Phoenix System and Software Architecture and Workflow Modeling Language Manual
ring topology
an example of user-defined relation use
......
/* Example 12. Model of Cardiac Arrest Workflow
See also: Examples 9 and 14 on Workflow patterns from the Monterey Phoenix System and Software Architecture and Workflow Modeling Language Manual
the web site
http://workflowpatterns.com/patterns/control/index.php
......
/* Example 13. Model of Consumers Suppliers
See also: Example 29: Coordinating asynchronous threads and tracking event dependency from the Monterey Phoenix System and Software Architecture and Workflow Modeling Language Manual
Asynchronous coordination and dependency definition example.
......
/* Example 14. Model of Shopping Spree
See also: Example 21: Attribute use from the Monterey Phoenix System and Software Architecture and Workflow Modeling Language Manual
Instructions: Run for Scopes 1 and up. Viewing of traces also includes a "Swim Lanes" option.
......
/* Example 15. Model of Backpack Weight
See also: Example 22: Use of interval attributes from the Monterey Phoenix System and Software Architecture and Workflow Modeling Language Manual
Use of interval attributes.
......
/* Example 16. Model of Stack Behavior
See also: Example 30: Type 1 probability from the Monterey Phoenix System and Software Architecture and Workflow Modeling Language Manual
Here is a simple stack behavior model. Valid behaviors don’t permit
a scenario when Pop operation is applied to the empty stack. For the
......
/* Example 17. Model of Shared Events
See also: Example 31: Shared events with probabilities from the Monterey Phoenix System and Software Architecture and Workflow Modeling Language Manual
A simple example of shared events. If one root has a, the other root
also has a. If neither root has a, then root 1 must have b, and root 2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment