Goal test (source code)

= Goal test

A condition deciding whether a state successfully completes a <search problem>. Its timing must agree with the <search transition model>: arriving at a destination before an adversary's compulsory response need not be a successful terminal state.