Model-based automated generation of user interfaces
AAAI '94 Proceedings of the twelfth national conference on Artificial intelligence (vol. 1)
Design patterns: elements of reusable object-oriented software
Design patterns: elements of reusable object-oriented software
Naked Objects
Patterns Generate Architectures
ECOOP '94 Proceedings of the 8th European Conference on Object-Oriented Programming
Hi-index | 0.00 |
The Strategy pattern decouples algorithms from the class that uses them allowing the algorithms to vary independently. It does not, however, allow the algorithms to have different parameters. The parameterized strategy pattern presented in this paper addresses the case when the algorithms have different sets of parameters, and when the user is allowed to see and modify these parameters for each concrete algorithm before its execution. This is accomplished by introducing special parameter classes which encapsulate algorithms parameters. The abstract algorithm class is completely decoupled from parameters letting each concrete algorithm class to create its own list of parameter instances which mirrors its parameters.