@@ -32,9 +32,9 @@ As these algorithms execute, we can classify nodes into three sets.
3232These are:
3333
3434
35- - "Finalised" nodes, for which the shortest or least costly path back to the start node has already
36- been finalised (see below for further explanation of this),
37- that is the final parent node has been determined and is recorded;
35+ - "Finalised" nodes, for which the path back to the start node has
36+ been finalised, that is, the final parent node has been determined and recorded;
37+
3838
3939- "Frontier" nodes, that are not finalised but are connected to a finalised node by a single edge; and
4040
@@ -54,14 +54,6 @@ been finalised
5454have their costs recomputed. Other algorithms use other data structures to keep track
5555of the frontier nodes.
5656
57- Saying the finalised nodes have "the least costly path" back to the start
58- node may be a little misleading: Prim's algorithm uses the length of just
59- * the first edge of the path* as the cost. At each step, Prim's algorithm
60- chooses the node with the least * incremental* cost increase for the tree
61- being constructed. Throughout the execution, if finalised has size * N* ,
62- it contains the smallest tree with * N* nodes that includes the start node.
63- The paths from each node back to the start are generally not the shortest.
64-
6557In the presentation here, we do not give details of how the priority
6658queue is implemented, but just emphasise it is a collection of nodes
6759with associated costs and the node with the minimum cost is selected each
0 commit comments