Lexicon

Interchangeable Algorithms

Kind: constraint

Layer: Design Patterns Core

Record: lexicon:interchangeable-algorithms

Canonical: Lexicon

The requirement that competing algorithms share one interface so they can be swapped freely.

Listed in Lexicon terms, after Explicit State Set and before Shared Behavioral Interface.

Category

  • Behavioral Patterns

Required by

  • Strategy Pattern

Linked from

  • Behavioral Patterns