Home › Per Red Blob Games, the A* algorithm's evaluatio…
Per Red Blob Games, the A* algorithm's evaluation function is which?
Af(n) = h(n) − g(n)
Bf(n) = h(n) only
Cf(n) = g(n) + h(n)
Df(n) = g(n) × h(n)
Answer & Solution
Correct answer: C. f(n) = g(n) + h(n)
Red Blob Games A*: g = cost so far, h = heuristic estimate to goal. The frontier is sorted by f = g + h.
Related questions
Per Red Blob Games (movement costs), if some terrain costs MORE to traverse, Dijkstra's alPer Reynolds' Steering Behaviors (commonly cited in game AI), 'SEEK' behaviour produces whIn game AI, a BEHAVIOR TREE typically uses which TWO compositional node types?In game AI design, a FINITE STATE MACHINE (FSM) is best suited for modelling which?In standard game AI literature, a NavMesh (navigation mesh) represents walkable terrain asPer Red Blob Games (Map Representations), a HEX grid offers which advantage over a square Per Red Blob Games, an ADMISSIBLE heuristic h(n) satisfies which property?Per Red Blob Games, for an 8-direction grid (with diagonals at √2 cost), the recommended h