Research Article

Dynamic Detection of Topological Information from Grid-Based Generalized Voronoi Diagrams

Algorithm 5

Pseudocode for updating GVD vertices.
UpdateVertices()
(78) while vertexPQueue
(79)   Vertex v pop(vertexPQueue)
(80)   for all n AdjVCell(v)
(81)       Erase(n, vertexPQueue)
(82)   for all e FindEdges( , eMap)
(83)       if   :
(84)       else
(85)     Insert(v, vMap)