Strategy
Defines a family of algorithms (as objects) and makes them interchangeable so that clients can vary their execution.
algorithm()
ConcreteStrategyA
ConcreteStrategyB
StrategyContext
algorithm()
strategy()
Previous slide
Next slide
Back to first slide
View graphic version