Data Structures & Algorithms in C++
Goodrich, Tamassia, Mount and Goldwasser
Loading...
Searching...
No Matches
Namespaces | Functions
shortest_path.h File Reference
#include "graph.h"
#include "priority/heap_adaptable_priority_queue.h"
#include <limits>
#include <utility>
Include dependency graph for shortest_path.h:

Namespaces

namespace  dsac
 Code from the zyBook "Data Structures and Algorithms in C++" by Goodrich/Tamassia/Mount/Goldwasser.
 
namespace  dsac::graph
 Code from the chapter "Graph Algorithms".
 

Functions

template<typename V , typename E >
VertexIntMap< V, E > dsac::graph::shortest_path_distances (const Graph< V, E > &g, typename Graph< V, E >::Vertex src)
 
template<typename V , typename E >
VertexVertexMap< V, E > dsac::graph::shortest_path_tree (const Graph< V, E > &g, typename Graph< V, E >::Vertex src, const VertexIntMap< V, E > &D)