lab_graphs
Gangnam-Style Graphs
premade_graphs.h
Go to the documentation of this file.
1 
15 #ifndef _PREMADE_GRAPHS_
16 #define _PREMADE_GRAPHS_
17 
24 namespace PremadeGraphs
25 {
32  Vertex getStartVertex(string mapType);
33 
40  Vertex getEndVertex(string mapType);
41 
48  Graph createUSMap(bool isWeighted);
49 
56  Graph createEuropeMap(bool isWeighted);
57 
64  Graph createJapanMap(bool isWeighted);
65 }
66 
67 #endif
Graph createJapanMap(bool isWeighted)
Creates a map of some Japanese cities.
Definition: premade_graphs.cpp:169
This namespace contains code that builds three example graphs with the Graph library.
Definition: premade_graphs.h:24
Represents a graph of vertices and edges and allows basic operations to be performed on it...
Definition: graph.h:49
Graph createUSMap(bool isWeighted)
Creates a map of some US cities.
Definition: premade_graphs.cpp:49
Vertex getStartVertex(string mapType)
Returns a starting vertex for a path algorithm.
Definition: premade_graphs.cpp:19
Graph createEuropeMap(bool isWeighted)
Creates a map of some European cities.
Definition: premade_graphs.cpp:104
Vertex getEndVertex(string mapType)
Returns a ending vertex for a path algorithm.
Definition: premade_graphs.cpp:34