3460:421 OOP Strategy Design Pattern

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