#ifndef GRAPH_H
#define GRAPH_H
-#include "support/std_string.h"
-
#include <queue>
#include <vector>
+
+namespace lyx {
+
+
class Graph {
public:
Graph() : numedges_(0) {};
int bfs_init(int, bool clear_visited = true);
///
- struct Vertex {
+ class Vertex {
+ public:
std::vector<int> in_vertices;
std::vector<int> out_vertices;
std::vector<int> out_edges;
};
+
+} // namespace lyx
+
#endif //GRAPH_H