#include </home/runner/work/metall/metall/include/metall/container/experimental/jgraph/jgraph.hpp>
◆ allocator_type
template<typename _allocator_type = std::allocator<std::byte>>
◆ id_type
template<typename _allocator_type = std::allocator<std::byte>>
The type of vertex ID and edge ID.
◆ value_type
template<typename _allocator_type = std::allocator<std::byte>>
JSON value type every vertex and edge has,.
◆ vertex_iterator
template<typename _allocator_type = std::allocator<std::byte>>
Vertex iterator over a container of vertex data, which is metall::container::experimental::json::key_value_pair_type.
◆ const_vertex_iterator
template<typename _allocator_type = std::allocator<std::byte>>
◆ edge_iterator
template<typename _allocator_type = std::allocator<std::byte>>
Edge iterator over a container of edge data, which is metall::container::experimental::json::key_value_pair_type.
◆ const_edge_iterator
template<typename _allocator_type = std::allocator<std::byte>>
◆ jgraph()
template<typename _allocator_type = std::allocator<std::byte>>
◆ has_vertex()
template<typename _allocator_type = std::allocator<std::byte>>
Checks if a vertex exists.
- Parameters
-
vertex_id | A vertex ID to check. |
- Returns
- Returns true if the vertex exists; otherwise, returns false.
◆ has_edges()
template<typename _allocator_type = std::allocator<std::byte>>
◆ register_vertex()
template<typename _allocator_type = std::allocator<std::byte>>
◆ register_edge()
template<typename _allocator_type = std::allocator<std::byte>>
◆ find_vertex() [1/2]
template<typename _allocator_type = std::allocator<std::byte>>
◆ find_vertex() [2/2]
template<typename _allocator_type = std::allocator<std::byte>>
◆ find_edges()
template<typename _allocator_type = std::allocator<std::byte>>
◆ num_vertices()
template<typename _allocator_type = std::allocator<std::byte>>
Returns the number of vertices.
- Returns
- The number of vertices.
◆ num_edges()
template<typename _allocator_type = std::allocator<std::byte>>
Returns the number of edges.
- Returns
- The number of edges.
◆ degree()
template<typename _allocator_type = std::allocator<std::byte>>
Returns the degree of the vertex corresponds to 'vid'.
- Parameters
-
- Returns
- Returns the degree of the vertex corresponds to 'vid'. If no vertex is associated with 'vid', returns 0.
◆ vertices_begin() [1/2]
template<typename _allocator_type = std::allocator<std::byte>>
◆ vertices_begin() [2/2]
template<typename _allocator_type = std::allocator<std::byte>>
◆ vertices_end() [1/2]
template<typename _allocator_type = std::allocator<std::byte>>
◆ vertices_end() [2/2]
template<typename _allocator_type = std::allocator<std::byte>>
◆ edges_begin() [1/2]
template<typename _allocator_type = std::allocator<std::byte>>
◆ edges_begin() [2/2]
template<typename _allocator_type = std::allocator<std::byte>>
◆ edges_end() [1/2]
template<typename _allocator_type = std::allocator<std::byte>>
◆ edges_end() [2/2]
template<typename _allocator_type = std::allocator<std::byte>>
◆ get_allocator()
template<typename _allocator_type = std::allocator<std::byte>>
The documentation for this class was generated from the following file:
- /home/runner/work/metall/metall/include/metall/container/experimental/jgraph/jgraph.hpp