- Define the strategy i/f, an abstraction for the
algorithm
- Concrete strategy classes implement the strategy i/f;
each class defines a version of the algorithm
- Client supplies a concrete strategy object to the context class
- The context class calls the appropriate functions of the strategy
object
|
|