|
Minutes of the meeting
of the 'Adaptive Design Patterns for Real-time Systems' For a major part of the meeting, the focus was on the hierarchical arrangement of design patterns. To illustrate how arranging patterns into hierarchies would help, consider the following simple IQ question: Indicate which of the following patterns most closely matches:
We can immediately identify (c ) as the closest match. Thus, there is a relation between identical objects, which can be easily identified by humans. Such closely related (yet different) objects (or patterns) can be arranged into a hierarchy. Thus, the above figure can be considered to be a child case of choice (c ), which can be a child of ...and so on. Thus, Similar to the above example, patterns too can be sub-patterns of some bigger patterns. Moreover, they can be a combination of two or more smaller patterns. Thus as shown in following set of patterns,
Pc is a combination of subparts of Pa and Pb. The technical meaning of 'hierarchical
arrangement' can be explained with the help of an example from Object
Oriented Methodology. If there are 2 classes, Class X and Class Y, and
if Class Y is the child of Class X, then Thus for example, if then, or Class Y
|