Simple CSR graph data structure that can take a custom C++ allocator and be stored in persistent memory This class uses vector containers to allocate internal arrays.
More...
template<typename index_t = uint64_t, typename vid_t = uint64_t, typename allocator_t = std::allocator<char>>
class csr_using_vector< index_t, vid_t, allocator_t >
Simple CSR graph data structure that can take a custom C++ allocator and be stored in persistent memory This class uses vector containers to allocate internal arrays.
- Template Parameters
-
index_t | Index type |
vid_t | Vertex ID type |
allocator_t | Allocator type |
- Examples
- csr_graph.cpp.