





































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Some concept of Data Structures are Abstract, Balance Factor, Complete Binary Tree, Dynamically, Storage, Implementation, Sequential Search, Advanced Data Structures, Graph Coloring Two, Insertion Sort. Main points of this lecture are: Minimum Spanning Trees, Electronic Circuitry, Several Components, Wiring, Interconnect a Set, Arrangements, Wiring, Undirected Graph, Pairs, Weight
Typology: Slides
1 / 45
This page cannot be seen from the preview
Don't miss anything!






































In the design of electronic circuitry, it is often necessary to make the pins of several components electrically equivalent by wiring them together. To interconnect a set of n pins, we can use an arrangement of n – 1 wires, each connecting two pins. Of all such arrangements, the one that uses the least amount of wire is usually the most desirable. We can model this wiring problem with a connected, undirected graph G = ( V , E ), where V is the set of pins, E is the set of possible interconnections between pairs of pins, and for each edge ( u , v ) ∈ E , we have a weight w ( u , v ) specifying the cost (amount of wire needed) to connect u and v.
Undirected Graph
Spanning Trees
pick a node and call it part of the spanning tree do a search from the initial node: each time you find a node that is not in the spanning tree, add to the spanning tree both the new node and the edge you followed to get to it
An undirected graph Result of a BFS starting from top
Result of a DFS starting from top Docsity.com