Article · Wikipedia archive · Last revised Jun 2, 2026

Goal node (computer science)

In computer science, a goal node is a node in a graph that meets defined criteria for success or termination.

Last revised
Jun 2, 2026
Read time
≈ 1 min
Length
84 w
Citations
Source

In computer science, a goal node is a node in a graph that meets defined criteria for success or termination.

Heuristical artificial intelligence algorithms, like A* and B*, attempt to reach such nodes in optimal time by defining the distance to the goal node. When the goal node is reached, A* defines the distance to the goal node as 0 and all other nodes' distances as positive values.

References

References

  • N.J. Nilsson Principles of Artificial Intelligence (1982 Birkhäuser) p. 63
See also

See also