# Interchangeable Algorithms

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

Record: `lexicon:interchangeable-algorithms`
Kind: constraint
Layer: [Design Patterns Core](https://banes-lab.com/records/layer/design-patterns-core.md)
Canonical: https://banes-lab.com/ontology/lexicon#lexicon-interchangeable-algorithms

Listed in [Lexicon terms](https://banes-lab.com/api/records/lexicon.md), after [Explicit State Set](https://banes-lab.com/records/lexicon/explicit-state-set.md) and before [Shared Behavioral Interface](https://banes-lab.com/records/lexicon/shared-behavioral-interface.md).

## Category

- [Behavioral Patterns](https://banes-lab.com/records/lexicon-category/behavioral-patterns.md)

## Required by

- [Strategy Pattern](https://banes-lab.com/records/architecture/strategy-pattern.md)

## Linked from

- [Behavioral Patterns](https://banes-lab.com/ontology/principles/architecture-category-behavioral-patterns.md)
