|
ADS
Algorithms and Data Structures
|
Files | |
| Dijkstra.h | |
| The priority queues of ADS inside the visits of Boost.Graph, beyond the book, compiled only with ADS_WITH_BOOST: UpdatableQueue gives a queue of PriorityQueue.h the interface of the buffer that boost::breadth_first_visit() takes (push(), top(), pop(), empty(), and the update() of the updatable queue of Dijkstra's algorithm), and dijkstraShortestPaths() is the algorithm of Dijkstra of Boost.Graph on such a queue: the visit of Boost.Graph with a visitor that relaxes the arcs, as boost::dijkstra_shortest_paths() does on its own 4-ary heap, which that function does not let a caller replace. | |
| FromBGL.h | |
| A graph of Boost.Graph as a graph of ADS, beyond the book, compiled only with ADS_WITH_BOOST: FromBGL< BG , WeightMap > is a view of a graph of Boost.Graph that is an IncidenceGraph and a VertexListGraph with a vertex_index, which models the concept Graph of Graph.h, with forEachEdge() reading the weights from a property map, so that the algorithms of ADS (the visits, the shortest paths, the spanning trees, the reoptimizing observers) run on it with no copy of the graph. | |
| Graph.h | |
| The graphs of ADS as graphs of Boost.Graph, beyond the book, compiled only with ADS_WITH_BOOST [see cmake/ADSBoost.cmake]: the specializations of boost::graph_traits and boost::property_map, and the free functions that the concepts of Boost.Graph ask for, so that its algorithms (breadth_first_search(), dijkstra_shortest_paths(), bellman_ford_shortest_paths(), strong_components(), topological_sort(), the maximum flows) run on an ADS graph with no copy. | |
| Heap.h | |
| The mutable heaps of Boost.Heap as queues of ADS that lower their keys natively, beyond the book, compiled only with ADS_WITH_BOOST. | |
| Iterator.h | |
| The traversal that Boost reads from the iterators of ADS whose reference is built, beyond the book, compiled only with ADS_WITH_BOOST. | |