Strategy

From Open Pattern Repository for Online Learning Systems
Revision as of 12:04, 5 May 2017 by Sfrancisco (talk | contribs) (Added category)
Jump to navigation Jump to search


Strategy
Contributors Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides
Last modification May 5, 2017
Source Gamma, Helm, Johnson & Vlissides (1995)[1], Strategy Pattern (2016)[2]
Pattern formats OPR Alexandrian
Usability
Learning domain
Stakeholders

Define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary independently from clients that use it.[1][2]


Context

Problem

Forces

Solution

Consequences

Benefits

Liabilities

Evidence

Literature

Discussion

Data

Applied evaluation

Related patterns

Example

References

  1. 1.0 1.1 Gamma, E., Helm, R., Johnson, R. & Vlissides, J. (1995). Design Patterns: elements of reusable object-oriented software. Addison-Wesley: Boston, MA.ISBN 0-201-63361-2.
  2. 2.0 2.1 Strategy Pattern. (2016). Retrieved October 4, 2016 from http://c2.com/cgi/wiki?StrategyPattern.