A software pattern solves an architecture or design problem by defining collaborating software elements. Its solution applies within a particular context and may not suit other contexts. section 7.6.1
Bank overdraft policies
For a banking application with different overdraft limits and fees, the Strategy pattern separates the overdraft algorithm into an interface and concrete strategies; an Account uses the algorithm. section 7.6.1
Figure 7.11 The visual representation of different types of relationships between the patterns: a successor pattern solves a problem created by applying the predecessor pattern; two or more patterns can be alternative solutions to the same problem; one pattern can be a specialization of another pattern; and patterns that solve problems in the same area can be grouped, or generalized.
Use the diagram to distinguish successor, alternative, specialization, and generalization relationships between patterns. section 7.6.1
