libgrape-lite
A C++ library for parallel graph processing
|
A neighbor of a vertex in the graph. More...
#include <adj_list.h>
Public Member Functions | |
DEV_HOST | Nbr (const VID_T &nbr_) |
DEV_HOST | Nbr (const Vertex< VID_T > &nbr_) |
DEV_HOST | Nbr (const Nbr &rhs) |
DEV_HOST | Nbr (Nbr &&rhs) noexcept |
DEV_HOST | Nbr (const VID_T &nbr_, const EDATA_T &data_) |
DEV_HOST | Nbr (const Vertex< VID_T > &nbr_, const EDATA_T &data_) |
DEV_HOST | Nbr (const VID_T &nbr_, EDATA_T &&data_) |
DEV_HOST_INLINE Nbr & | operator= (const Nbr &rhs) |
DEV_HOST_INLINE Nbr & | operator= (Nbr &&rhs) |
DEV_HOST_INLINE Vertex< VID_T > | get_neighbor () const |
DEV_HOST_INLINE const EDATA_T & | get_data () const |
DEV_HOST_INLINE VID_T | get_neighbor_lid () const |
Public Attributes | |
Vertex< VID_T > | neighbor |
EDATA_T | data |
A neighbor of a vertex in the graph.
Assume an edge, vertex_a –(edge_data)--> vertex_b. a <Nbr> of vertex_a stores <Vertex> b and the edge_data.
VID_T | |
EDATA_T |