Choosing neighbors (Algorithms 3 & 4)·2 min
The heuristic test
0 / 1
One question to lock in the occlusion test — the line of code people get wrong most often.
Knowledge check
In SELECT-NEIGHBORS-HEURISTIC you've already selected neighbor r. A new candidate e is being considered. When do you REJECT e?