Template Class Graph¶
Defined in File graph.hpp
Class Documentation¶
-
template<EdgeOrientation
Orientation
>
classGraph
¶ Ctors & Dtor
-
Graph
(const std::string &path)¶ load graph if present on disk, initialize it otherwise
- Parameters
path
: graph directory on disk
-
Graph
(const std::string &path, const std::string &config)¶ create graph on disk at the given path with the given configuration
- Parameters
path
: the graph directory on disk (must not exist)config
: the path to a JSON file
-
~Graph
()¶ graph instance destructor
Public Types
Public Functions
-
Edges<Orientation> &
edges
()¶ edges accessor
-
Vertices<Orientation> &
vertices
()¶ vertices accessor
-
Status
commit
()¶ Process uncommitted operations.
- Return
information whether operation succeeded or not
-
std::string
statistics
() const¶ Provides human readable string of all database counters.
-