-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGraph.hpp
51 lines (42 loc) · 1.09 KB
/
Graph.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/**
* @file Graph.hpp
* @brief Declaration of Graph functions.
*/
#ifndef GRAPH_HPP_
#define GRAPH_HPP_
#include "Edge.hpp"
#include "GraphType.hpp"
#include "GraphFile.hpp"
#include "Vertex.hpp"
#include <unordered_map>
#include <vector>
/**
* @brief Class that provides graph functionality.
*
* @tparam GraphType Type of the graph implementation.
* @tparam Arg Type of the first argument to the graph implementation template.
* @tparam VertexIdType Unsigned type for storing vertex ids.
*/
template <template <typename, typename> class GraphType, typename Arg, typename VertexIdType, typename Enable = void>
class Graph;
/**
* @brief Struct used for providing bundled vertex IDs.
*
* @tparam UnsignedType Type of vertex id.
*/
template <typename UnsignedType>
struct VertexInfo {
UnsignedType id;
};
/**
* @brief Struct used for providing bundled vertex labels.
*/
struct VertexLabel {
std::string label;
};
#include "detail/GraphFile.hpp"
#include "detail/Edge.hpp"
#include "detail/Vertex.hpp"
#include "detail/SimplePathProvider.hpp"
#include "detail/Graph.hpp"
#endif // GRAPH_HPP_