I've been asked 2 questions:
- Why is an argument supplied to the r->l function if there is only
1 agent in the file?
- Why are behaviors nested within an agent and not in actual use cases?
These 2 questions are closely related. Both of them can be answered
with a single demonstration.
- Begin by opening Agent-01 in Rational Rose.
- Display Agent-01's Use Case Diagram in the model browser.
- Select the *Agent-01* actor and Export it...
- Be sure to save the Petal file somewhere you can
find it later...
- Open Agent-02 in Rational Rose.
- Select the *Agent-02* actor and Export it...
- Open Agent-03 in Rational Rose.
- Import *Agent-01* and *Agent-02*...
- Establish the relationship between *Agent-01*
and the "Rotate to Follow Agent" Use Case...
- Establish the relationships between *Agent-02*
and the "Rotate to Follow Agent" and "Assess Range" Use Cases...
- Add the "Find Out of Range" Use Case used by *Agent-02*
and relate it to "Assess Range" and "Strafe to Target"...
- Use the "Format > Layout Diagram" menu choice to "clean up" the
Use Case Diagram.
- Save the file under a new name (Agents-01-03.mdl
is as good a filename as any)...
This file can now be considered the definition source of *Agent-01*,
*Agent-02*, and *Agent-03*.