This difference is the same for any pair of potentials no


In the example in Figure 22.46, show the effect of reversing the direction of the edge connecting 6 and 5 on the potential tables.

Figure 22.46. Vertex potentials

Vertex potentials are determined by the structure of the spanning tree and by an initial assignment of a potential value to any vertex. At left is a set of edges that comprise a spanning tree of the ten vertices 0 through 9. In the center is a representation of that tree with 5 at the root, vertices connected to 5 one level lower, and so forth. When we assign the root the potential
value 0, there is a unique assignment of potentials to the other nodes that make the difference between the potentials of each edge's vertices equal to its cost. At right is a different representation of the same tree with 0 at the root. The potentials that we get by assigning 0 the value 0 differ from those in the center by a constant offset. All our computations use the difference between two potentials: This difference is the same for any pair of potentials no matter what vertex we start with (and no matter what value we assign it), so our choice of starting vertex and value is immaterial.

357_4215e96a-3c01-41b9-ad16-5d1cc01dfdc3.png

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: This difference is the same for any pair of potentials no
Reference No:- TGS01474888

Expected delivery within 24 Hours