Pattern

Hysteresis

You might say: dead band, switching hysteresis, commitment threshold

Different thresholds for starting and undoing a change, so noise near a boundary does not make the system flip back and forth.

Ask
What gap separates the threshold to start a change from the threshold to reverse it?

Sources

  1. Texas Instruments, Understanding Schmitt Triggers, p. 1The true Schmitt trigger input has the switching threshold adjusted where the part switches at a higher point (Vt+) on the rising edge and at a lower point (Vt–) on the falling edge.
  2. David Rez Graham, An Introduction to Utility Theory, Section 9.7If your AI agent is attempting to decide something every frame, it’s possible to run into oscillation issues, especially if you have two things that are scored similarly.

Use it on your project

teardown-apply: hold "Hysteresis" (pattern-hysteresis) from the teardown at https://teardownatlas.com/game-ai/ against my project

Paste it into a coding agent that has the teardown skills.

An AI agent wrote this map with the teardown skill. It can contain errors: check the sources before you rely on a part. About and legal