libgrape-lite
A C++ library for parallel graph processing
|
A Vertex object only contains id of a vertex. It will be used when iterating vertices of a fragment and accessing data and neighbor of a vertex. More...
#include <vertex_array.h>
Public Member Functions | |
DEV_HOST | Vertex (const T &value) noexcept |
DEV_HOST_INLINE Vertex & | operator= (const T &value) noexcept |
DEV_HOST_INLINE Vertex & | operator++ () noexcept |
DEV_HOST_INLINE Vertex | operator++ (int) |
DEV_HOST_INLINE Vertex & | operator-- () noexcept |
DEV_HOST_INLINE Vertex | operator-- (int) noexcept |
DEV_HOST_INLINE Vertex | operator+ (size_t offset) const noexcept |
DEV_HOST_INLINE bool | operator== (const Vertex &rhs) const |
DEV_HOST_INLINE bool | operator!= (const Vertex &rhs) const |
DEV_HOST_INLINE void | Swap (Vertex &rhs) |
DEV_HOST_INLINE bool | operator< (const Vertex &rhs) const |
DEV_HOST_INLINE T | GetValue () const |
DEV_HOST_INLINE void | SetValue (T value) |
Private Attributes | |
T | value_ {} |
Friends | |
InArchive & | operator<< (InArchive &archive, const Vertex &h) |
OutArchive & | operator>> (OutArchive &archive, Vertex &h) |