Task analylsis

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:
24 Views