Algorithms in C++ Part 5: Graph Algorithms, 3/e (Paperback)
暫譯: C++ 演算法 第五部分:圖形演算法 (第三版)

Robert Sedgewick

買這商品的人也買了...

商品描述

Description

 

Graph algorithms are critical for a wide range of applications, including network connectivity, circuit design, scheduling, transaction processing, and resource allocation. The latest in Robert Sedgewick's classic series on algorithms, this is the field's definitive guide to graph algorithms for C++. Far more than a "revision," this is a thorough rewriting, five times as long as the previous edition, with a new text design, innovative new figures, more detailed descriptions, and many new exercises -- all designed to dramatically enhance the book's value to developers, students, and researchers alike.KEY TOPICS:The book contains six chapters covering graph properties and types, graph search, directed graphs, minimal spanning trees, shortest paths, and networks -- each with diagrams, sample code, and detailed descriptions intended to help readers understand the basic properties of as broad a range of fundamental graph algorithms as possible. The basic properties of these algorithms are developed from first principles; discussion of advanced mathematical concepts is brief, general, and descriptive, but proofs are rigorous and many open problems are discussed. Sedgewick focuses on practical applications, giving readers all the information and real (not pseudo-) code they need to confidently implement, debug, and use the algorithms he covers. (Also available: Algorithms in C++: Parts 1-4, Third Edition, ISBN: 0-201-35088-2).MARKET:For all software developers, researchers, and students of computer science.

 

Table of Contents

17. Graph Properties and Types.

 

Glossary.

 

 

Graph ADT.

 

 

Adjacency-Matrix Representation.

 

 

Adjacency-Lists Representation.

 

 

Variations, Extensions, and Costs.

 

 

Graph Generators.

 

 

Simple, Euler, and Hamilton Paths.

 

 

Graph-Processing Problems.

 



18. Graph Search.

 

Exploring a Maze.

 

 

Depth-First Search.

 

 

Graph-Search ADT Functions.

 

 

Properties of DFS Forests.

 

 

DFS Algorithms.

 

 

Separability and Biconnectivity.

 

 

Breadth-First Search.

 

 

Generalized Graph Search.

 

 

Analysis of Graph Algorithms.

 



19. Digraphs and DAGs.

 

Glossary and Rules of the Game.

 

 

Anatomy of DFS in Digraphs.

 

 

Reachability and Transitive Closure.

 

 

Equivalence Relations and Partial Orders.

 

 

DAGs.

 

 

Topological Sorting.

 

 

Reachability in DAGs.

 

 

Strong Components in Digraphs.

 

 

Transitive Closure Revisited.

 

 

Perspective.

 



20. Minimum Spanning Trees.

 

Representations.

 

 

Underlying Principles of MST Algorithms.

 

 

Prim's Algorithm and Priority-First Search.

 

 

Kruskal's Algorithm.

 

 

Boruvka's Algorithm.

 

 

Comparisons and Improvements.

 

 

Euclidean MST.

 



21. Shortest Paths.

 

Underlying Principles.

 

 

Dijkstra's algorithm.

 

 

All-Pairs Shortest Paths.

 

 

Shortest Paths in Acyclic Networks.

 

 

Euclidean Networks.

 

 

Reduction.

 

 

Negative Weights.

 

 

Perspective.

 



22. Network Flow.

 

Flow Networks.

 

 

Augmenting-Path Maxflow Algorithms.

 

 

Preflow-Push Maxflow Algorithms.

 

 

Maxflow Reductions.

 

 

Mincost Flows.

 

 

Network Simplex Algorithm.

 

 

Mincost-Flow Reductions.

 

 

Perspective.

 



References for Part Five.


Index.

 

商品描述(中文翻譯)

### 內容描述

圖形演算法對於各種應用至關重要,包括網路連接、電路設計、排程、交易處理和資源分配。這是 Robert Sedgewick 經典演算法系列中的最新作品,是 C++ 圖形演算法領域的權威指南。這不僅僅是一次「修訂」,而是一次徹底的重寫,篇幅是前一版的五倍,具有全新的文本設計、創新的新圖形、更詳細的描述和許多新的練習題——所有這些都旨在顯著提升本書對開發者、學生和研究人員的價值。**主要主題:** 本書包含六個章節,涵蓋圖形屬性和類型、圖形搜尋、有向圖、最小生成樹、最短路徑和網路——每個章節都有圖示、範例程式碼和詳細描述,旨在幫助讀者理解盡可能廣泛的基本圖形演算法的基本屬性。這些演算法的基本屬性是從基本原則發展而來;對於高級數學概念的討論簡短、一般且描述性,但證明是嚴謹的,並討論了許多未解決的問題。Sedgewick 專注於實際應用,提供讀者所需的所有資訊和真實(而非虛假的)程式碼,以自信地實現、除錯和使用他所涵蓋的演算法。(另有:*Algorithms in C++: Parts 1-4, Third Edition, ISBN: 0-201-35088-2)。**市場:** 適合所有軟體開發者、研究人員和計算機科學學生。

### 目錄

**17. 圖形屬性和類型。**

術語表。

圖形 ADT。

鄰接矩陣表示法。

鄰接列表表示法。

變體、擴展和成本。

圖形生成器。

簡單路徑、歐拉路徑和哈密頓路徑。

圖形處理問題。

**18. 圖形搜尋。**

探索迷宮。

深度優先搜尋。

圖形搜尋 ADT 函數。

DFS 樹的屬性。

DFS 演算法。

可分性和雙連通性。

廣度優先搜尋。

廣義圖形搜尋。

圖形演算法分析。

**19. 有向圖和有向無環圖(DAG)。**

術語表和遊戲規則。

有向圖中 DFS 的解剖。

可達性和傳遞閉包。

等價關係和部分序。

有向無環圖(DAG)。

拓撲排序。

DAG 中的可達性。

有向圖中的強連通分量。

重新探討傳遞閉包。

觀點。

**20. 最小生成樹。**

表示法。

最小生成樹演算法的基本原則。

Prim 演算法和優先搜尋。

Kruskal 演算法。

Boruvka 演算法。

比較和改進。

歐幾里得最小生成樹。

**21. 最短路徑。**

基本原則。

Dijkstra 演算法。

所有對最短路徑。

無環網路中的最短路徑。

歐幾里得網路。

簡化。

負權重。

觀點。

**22. 網路流。**

流網路。

增強路徑最大流演算法。

預流推送最大流演算法。

最大流簡化。

最小成本流。

網路單純形演算法。

最小成本流簡化。

觀點。

**第五部分參考文獻。**

**索引。**