Task analylsis
![](https://ieee-dataport.org/sites/default/files/styles/3x2/public/tags/images/system-2660914_1920.jpg?itok=YhW39ejC)
This file is a MagicDraw export demonstrating how to code for Monte Carlo simuation of activity diagrams. The activity diagram "Use Bicycle" has two nested algorithms.
The first nested diagram produces a pseuro-random integer for the number of bicycle shopping trips above and beyond 52, or once per week, from a discrete Weibull distribution arbitrarily chosen for demonstration only. The second nested diagram takes in that integer, adds it to 52, and cyclically simulates a bicycle shopping trip via one additioanl nested diagram.
- Categories: