This is a page of the online appendix of our paper on Structural Essence.
This table shows, for each GoF design pattern, the absolute and relative structural essence based on its UML class diagram. The class diagrams are based on the diagrams on the dofactory web site. For each pattern, we provide a page showing the UML diagram, a link to a downloadable ArgoUML model of that diagram, a diagram of our distilled model, and the absolute and relative structural essence of the given model.
Pattern | Absolute Structural Essence | Relative Structural Essence |
---|---|---|
Creational Patterns | ||
Abstract Factory | 0 | 0 |
Builder | 0 | 0 |
Factory Method | 0 | 0 |
Prototype | 0 | 0 |
Singleton | 0 | 0 |
Structural Patterns | ||
Adapter | 0 | 0 |
Bridge | 0 | 0 |
Composite | 2 | 0.67 |
Decorator | 2 | 0.67 |
Facade | 0 | 0 |
Flyweight | 1 | 0.25 |
Proxy | 0 | 0 |
Behavioral Patterns | ||
Chain of Responsibility | 1 | 0.33 |
Command | 0 | 0 |
Interpreter | 2 | 0.5 |
Iterator | 0 | 0 |
Mediator | 3 | 1 |
Memento | 1 | 0.33 |
Observer | 3 | 1.5 |
State | 0 | 0 |
Strategy | 0 | 0 |
Template Method | 0 | 0 |
Visitor | 0 | 0 |