|
VeloGraphX
High-performance dynamic graph analytics in C++20
|
#include <dynamic_graph.hpp>
Public Member Functions | |
| std::size_t | vertex_count () const noexcept |
| std::size_t | edge_count () const noexcept |
| std::size_t | segment_count () const noexcept |
| std::size_t | segment_begin (std::size_t index) const noexcept |
| std::size_t | segment_end (std::size_t index) const noexcept |
| std::size_t | segment_edge_count (std::size_t index) const noexcept |
| void | resize_vertices (std::size_t vertices) |
| void | clear (std::size_t vertices=0) |
| void | build (std::size_t vertices, std::vector< std::pair< VertexId, VertexId > > arcs) |
| template<class RowProvider > | |
| void | build_from_rows (std::size_t vertices, RowProvider &&rows) |
| template<class RowProvider > | |
| void | rebuild_segment (std::size_t index, RowProvider &&rows) |
| void | build_transpose_from (const SegmentedCsr &source) |
| std::span< const VertexId > | row (VertexId u) const noexcept |
| bool | contains (VertexId u, VertexId v) const noexcept |
| std::size_t | storage_bytes () const noexcept |
Static Public Attributes | |
| static constexpr std::size_t | kVerticesPerSegment = 1u << 16 |
Definition at line 33 of file dynamic_graph.hpp.
|
inline |
Definition at line 79 of file dynamic_graph.hpp.
References clear(), and kVerticesPerSegment.
Referenced by velographx::DynamicGraph::bulk_load_edges().
|
inline |
Definition at line 114 of file dynamic_graph.hpp.
References clear().
|
inline |
Definition at line 147 of file dynamic_graph.hpp.
References clear(), edge_count(), kVerticesPerSegment, row(), and vertex_count().
Referenced by velographx::DynamicGraph::bulk_load_edges().
|
inline |
Definition at line 72 of file dynamic_graph.hpp.
References resize_vertices().
Referenced by build(), build_from_rows(), and build_transpose_from().
|
inlinenoexcept |
Definition at line 190 of file dynamic_graph.hpp.
References row().
|
inlinenoexcept |
Definition at line 38 of file dynamic_graph.hpp.
Referenced by build_transpose_from(), and velographx::DynamicGraph::bulk_load_edges().
|
inline |
Definition at line 129 of file dynamic_graph.hpp.
|
inline |
Definition at line 54 of file dynamic_graph.hpp.
References kVerticesPerSegment.
Referenced by clear(), velographx::DynamicGraph::DynamicGraph(), and velographx::DynamicGraph::ensure_vertex().
|
inlinenoexcept |
Definition at line 180 of file dynamic_graph.hpp.
References kVerticesPerSegment.
Referenced by build_transpose_from(), velographx::DynamicGraph::compact_in_neighbors(), velographx::DynamicGraph::compact_neighbors(), and contains().
|
inlinenoexcept |
Definition at line 41 of file dynamic_graph.hpp.
|
inlinenoexcept |
Definition at line 39 of file dynamic_graph.hpp.
|
inlinenoexcept |
Definition at line 50 of file dynamic_graph.hpp.
|
inlinenoexcept |
Definition at line 45 of file dynamic_graph.hpp.
|
inlinenoexcept |
Definition at line 195 of file dynamic_graph.hpp.
Referenced by velographx::DynamicGraph::storage_bytes().
|
inlinenoexcept |
Definition at line 37 of file dynamic_graph.hpp.
Referenced by build_transpose_from(), and velographx::DynamicGraph::vertex_count().
|
staticconstexpr |
Definition at line 35 of file dynamic_graph.hpp.
Referenced by build(), build_transpose_from(), resize_vertices(), and row().