The vertices are in three groups:
- Vertices whose shortest distance from V0 is known
- vertices that are adjacent to some known vertex (the frontier vertices)
- all the other vertices (not known, not in the frontier)
Known: {V0}; Frontier: { V1, V2, V3}; Other: { V4, V5, V6 }
At each step, one frontier vertex can be added to the known vertices.
Which frontier vertex can become known in this example?