CPSC 421 OOP Design Pattern Strategy
Across
- 8. The algorithm uses data the client should not know about or had _____ we want to leave out of the client
- 10. The Strategy Pattern is an alternative to _____ of the Context
- 11. Strategy lets the algorithm vary _____ from clients that use it
- 12. A good design moves the _____ statement into its own Strategy class
- 13. In the Motivation, the class _____ is a Compositor with a simple strategy for determining line breaks
- 14. One disadvantage is that the client must pick which _____ to use
- 15. Applicable when there are multiple _____ statements in the operations
- 16. Strategy is a _____ Pattern
- 18. Applicable to many related classes that differ only in _____
- 19. In the Motivation, the class _____ implements the TEX algorithm that optimizes line breaks an entire paragraph at a time
- 20. Advantageous for _____ of related algorithms
- 22. AKA: _____
- 23. The _____ maintains a reference to a Strategy
- 24. Applicable when different _____ of an algorithm are needed, often for different space/time tradeoffs
- 25. In the Motivation, the (abstract) class _____ implements line-breaking strategies
Down
- 1. A related pattern is the _____ Method
- 2. Another disadvantage is the _____ overhead between Strategy and Context
- 3. A related pattern
- 4. The _____ declares an interface common to all supported algorithms
- 5. The advantage is that it allows a _____ of implementation
- 6. In the Motivation, the class _____ implements a strategy so that each row has a fixed number of items
- 7. The _____ implements the algorithm using the Strategy interface
- 9. Define a family of algorithms, _____ each one, and make them interchangeable
- 17. In the Motivation, the class _____ maintains and updates line breaks of text
- 21. Another disadvantage is that it increases the number of _____