2015-11-22 02:16:19 +08:00
|
|
|
#pragma once
|
2015-09-13 17:34:17 +08:00
|
|
|
|
2015-12-08 05:43:54 +08:00
|
|
|
#include "data_structures/skiplist/skiplist.hpp"
|
2015-12-13 00:57:07 +08:00
|
|
|
#include "storage/vertices.hpp"
|
|
|
|
#include "storage/edges.hpp"
|
2015-09-13 17:34:17 +08:00
|
|
|
|
|
|
|
class Graph
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Graph() {}
|
|
|
|
|
2015-12-08 04:51:55 +08:00
|
|
|
// TODO: connect method
|
|
|
|
// procedure:
|
|
|
|
// 1. acquire unique over first node
|
|
|
|
// 2. acquire unique over second node
|
|
|
|
// 3. add edge
|
2015-11-07 18:31:36 +08:00
|
|
|
|
2015-12-13 00:57:07 +08:00
|
|
|
Vertices vertices;
|
|
|
|
Edges edges;
|
2015-09-13 17:34:17 +08:00
|
|
|
};
|