Behavior selection algorithm

In artificial intelligence (AI), a behavior selection algorithm, or action selection algorithm, is an algorithm that selects appropriate behaviors or actions for one or more intelligent agents. In video game AI, it selects behaviors or actions for one or more non-player characters (NPCs). Common behavior selection algorithms include:

In application programming, run-time selection of the behavior of a specific method is referred to as the strategy design pattern.

See also

References

  1. ↑ Behavior Selection Algorithms: An Overview
  2. ↑ "The GoF Design Patterns Memory - Learning Object-Oriented Design & Programming". w3sDesign. Retrieved 2026-10-26.
  3. ↑ "Strategy Design Pattern". GeeksforGeeks. 2016-04-29. Retrieved 2026-10-26.
  4. ↑ Krishna, Ashutosh (2023-05-04). "A Beginner's Guide to the Strategy Design Pattern". freeCodeCamp.org. Retrieved 2026-10-26.