Metall  v0.27
A persistent memory allocator for data-centric analytics
jgraph.cpp File Reference
#include <iostream>
#include <string>
#include <metall/metall.hpp>
#include <metall/container/experimental/jgraph/jgraph.hpp>

Typedefs

using graph_type = jgraph::jgraph< metall::manager::allocator_type< std::byte > >
 

Functions

int main ()
 

Variables

std::vector< std::string > input_json_string_list
 

Typedef Documentation

◆ graph_type

Function Documentation

◆ main()

Variable Documentation

◆ input_json_string_list

std::vector<std::string> input_json_string_list
Initial value:
= {
R"({"type":"node", "id":"0", "properties":["user0"]})",
R"({"type":"node", "id":"1", "properties":["user1"]})",
R"({"type":"node", "id":"2", "properties":["item0"]})",
R"({"type":"node", "id":"3", "properties":["item1"]})",
R"({"type":"relationship", "id":"0", "start":"0", "end":"2", "properties":["buy"]})",
R"({"type":"relationship", "id":"1", "start":"1", "end":"3", "properties":["sell"]})",
R"({"type":"relationship", "id":"2", "start":"0", "end":"1", "properties":["friend"]})",
R"({"type":"relationship", "id":"3", "start":"0", "end":"1", "properties":["customer"]})"}
Examples
jgraph.cpp.