| C24 Tue Apr 26 |
- A class is a blueprint for building objects!! (hopefully last
time recited).
- WolfDeerSimulation
class
- AgentNode
class
- LLNode
class
- Wolf
class
- Some SW engineering terms: Singleton design pattern,
association vs containment, UML class diagram.
- Beware: The class diagram expresses relationships like
inheritance and aggregation among classes (as blueprints) but
the data structure diagram expresses how computer memory is
structured. So, the WolfDeerSimulation object has 2 references
to AgentNode but only one AgentNode class is drawn in the class
diagram
|
- The Source Code
- Is the real world a metaphor for computer software objects?
- Are computer software objects metaphores for real world
objects?
- Grady Booch (one of the creators of UML) said: "The Unified
Modeling Language is a graphical language used to visualize,
specify, reason about, document, and construct the artifacts of a
software-intensive system."
|