stoppingfunction

noun
UK /ˈstɒpɪŋ ˈfʌŋkʃən/
US /ˈstɑːpɪŋ ˈfʌŋkʃən/

A stopping function is a rule that tells something when to stop.

The robot's stopping function made it halt when it reached the wall.


OTHER MEANINGS

2. In math, a stopping function decides when a repeated process should end.

The stopping function ended the loop after ten steps.

3. In computers, a stopping function is a piece of code that makes a program quit.

The programmer added a stopping function so the game would close properly.

4. A stopping function can be a switch that turns a machine off.

He pressed the stopping function to shut down the conveyor belt.