endcondition
nounUK /ˈend kənˌdɪʃ(ə)n/
US /ˈend kənˌdɪʃ(ə)n/
The endcondition is the rule that tells a computer program when to stop.
The programmer set the endcondition so the loop would stop after ten tries.
OTHER MEANINGS
2. A test that decides when a game or race is finished.
The game's endcondition is reaching the castle before the timer runs out.
3. The final state that must be true for a process to be complete.
In the puzzle, the endcondition is having all the pieces in the right place.
4. A limit set in advance that marks the finish of a repeated action.
The robot's endcondition was to stop moving once it touched the wall.