Algorithms in C, Part 5: Graph Algorithms: Graph Algorithms Pt.5 by Robert Sedgewick
Author:Robert Sedgewick [Sedgewick, Robert]
Language: eng
Format: mobi
Publisher: Pearson Education
Published: 2001-08-16T04:00:00+00:00
Program 20.4 Priority-first search (adjacency lists)
This program is a generalized graph search that uses a priority queue to manage the fringe (see section 18.8). The priority P is defined such that the ADT function GRAPHpfs implements Prim's MST algorithm for sparse (connected) graphs. Other priority definitions implement different graph-processing algorithms.
The program moves the highest priority (lowest weight) edge from the fringe to the tree, then checks every edge adjacent to the new tree vertex to see whether it implies changes in the fringe. Edges to vertices not on the fringe or the tree are added to the fringe; shorter edges to fringe vertices replace corresponding fringe edges.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Implementing Enterprise Observability for Success by Manisha Agrawal and Karun Krishnannair(7305)
Supercharging Productivity with Trello by Brittany Joiner(6566)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6413)
Mastering Tableau 2023 - Fourth Edition by Marleen Meier(6325)
Inkscape by Example by István Szép(6179)
Visualize Complex Processes with Microsoft Visio by David J Parker & Šenaj Lelić(5880)
Build Stunning Real-time VFX with Unreal Engine 5 by Hrishikesh Andurlekar(4872)
Design Made Easy with Inkscape by Christopher Rogers(4577)
Customizing Microsoft Teams by Gopi Kondameda(4117)
Linux Device Driver Development Cookbook by Rodolfo Giometti(3932)
Extending Microsoft Power Apps with Power Apps Component Framework by Danish Naglekar(3709)
Business Intelligence Career Master Plan by Eduardo Chavez & Danny Moncada(3656)
Salesforce Platform Enterprise Architecture - Fourth Edition by Andrew Fawcett(3585)
Pandas Cookbook by Theodore Petrou(3564)
The Tableau Workshop by Sumit Gupta Sylvester Pinto Shweta Sankhe-Savale JC Gillet and Kenneth Michael Cherven(3366)
TCP IP by Todd Lammle(2982)
Drawing Shortcuts: Developing Quick Drawing Skills Using Today's Technology by Leggitt Jim(2910)
Applied Predictive Modeling by Max Kuhn & Kjell Johnson(2857)
Work Smarter with Microsoft OneNote by Connie Clark(2842)
