|
ADS
Algorithms and Data Structures
|
The GRAPH, its visits, paths, spanning trees and flows. More...
Topics | |
| Theory of graphs | |
| AllPairsShortestPaths.h | |
| The shortest paths between all the pairs of nodes, section 13.5. | |
| ArrayGraph.h | |
| The static GRAPH with vectors of adjacency of section 9.4. | |
| Assignment.h | |
| The assignment problem, beyond the book. | |
| BlossomMatching.h | |
| The matchings of a general graph by the blossoms of Edmonds, beyond the book, whose matchings of a bipartite graph and branch and bound are in Matching.h. | |
| EulerianCycle.h | |
| The Eulerian cycles and trails of a graph, oriented or not. | |
| FlowApplications.h | |
| Two uses of the maximum flow of section 15.2. | |
| Graph.h | |
| The GRAPH of chapter 9 and its realizations. | |
| GraphBuilder.h | |
| The step from a graph built one edge at a time to the static GRAPHs in compressed rows, beyond the book. | |
| Grid.h | |
| The visits of a GRID, the implicit graph whose nodes are the cells \( ( r , c ) \) of a \( \mathit{rows} \times \mathit{cols} \) matrix and whose edges are the moves from a cell to the cells at the given differences \( ( \mathit{dr} , \mathit{dc} ) \) that are inside the matrix and free. | |
| GridGraph.h | |
| The graph of a grid map, beyond the book. | |
| IncidenceGraph.h | |
| The oriented graph on its matrix of incidence, exercise 12.2 of Morin's book, beyond the book. | |
| ListGraph.h | |
| The GRAPH with lists of adjacency of section 9.4. | |
| Matching.h | |
| Matchings, the sets of edges of a graph no two of which share an end beyond the capacities of the ends. | |
| MatrixGraph.h | |
| The GRAPH with an adjacency matrix of section 9.3. | |
| MaxFlow.h | |
| The maximum flow of section 15.2 in a network \( G = ( V , E , s , t , c ) \), with integer capacities, and the minimum cut. | |
| MinimumSpanningTree.h | |
| The minimum spanning tree of an unoriented connected graph with weights on the edges (section 14.3). | |
| Observable.h | |
| A GRAPH that tells its changes, beyond the book. | |
| Paths.h | |
| Problems on the paths of a GRAPH solved by the visits of section 9.5 and by the topological order, each in \( O( n + m ) \) time on lists or vectors of adjacency unless said otherwise. | |
| PointerGraph.h | |
| An oriented graph with pointers, beyond the book. | |
| Properties.h | |
| Properties of a GRAPH and of its trees, decided or measured by the visits of section 9.5. | |
| PushRelabel.h | |
| The push-relabel of Goldberg and Tarjan, the way PUSH_RELABEL of FlowNetwork::maxFlow(), beyond the book. | |
| Reoptimization.h | |
| The solutions that follow the changes of a graph, beyond the book. | |
| ShortestPaths.h | |
| The shortest paths of chapter 11 from a node \( r \) of an oriented GRAPH whose edges have a cost \( w( u , v ) \). | |
| StaticGraph.h | |
| A static GRAPH for the engineered algorithms, beyond the book. | |
| StrongComponents.h | |
| The strongly connected components of an oriented graph by one visit in depth, beyond the book, whose visits and components by the algorithm of Kosaraju are in Visit.h. | |
| Visit.h | |
| The visits of a GRAPH of section 9.5 and their applications, each in \( \Theta( n + m ) \) time on lists or vectors of adjacency. | |
The GRAPH, its visits, paths, spanning trees and flows.
The definitions, the invariants and the costs of the area are in Theory of graphs.