- composition, ( composite aggregation in UML), is part – whole relationship
- Winston et al describes describes several kind composition, with three basic properties
- configuration (functional or structural relationship between part and whole)
- homeomerous (parts are the same kind of as the whole or not)
- invariance (parts can be separated from the whole or not)
- based in these three properties the following kind of composition can be ascertained
- component – integral object composition (the integral whole is formed by the individual components, which can be removed but removing them will disintegrate the whole, like a laptop is made of different hardware components)
- material – object composition (the object is made is up the material, and the material cant be removed from the object, or it can be said that the object is made up of the material, like a cooking pan is made of steel)
- portion – object composition (portions are homeomeric with the object, like a link list is made up of individual nodes, in which each node can be considered as portion of the link list, each portion can be removed from the object)
- place – area composition (place within the area, and place cant be removed from the area, like pune is in India)
- member – bunch composition (members are just a collection which forms a bunch, like flowers in a bouquet)
- member – partnership composition (members are invariant part of the partnership, if parts are removed whole is destroyed)
Reference :
- Winston, Morton E., Roger Chaffin, and Douglas Herrmann, "A Taxonomy of Part-Whole Relations," Cognitive Science, 11, 1987, pp. 417-444.
- Six Different Kinds of Composition, by James J. Odell
No comments:
Post a Comment