libgrape-lite
A C++ library for parallel graph processing
All Classes Namespaces Files Functions Typedefs Enumerations Enumerator Pages
Classes | Public Member Functions | Private Types | Private Attributes | List of all members
grape::ConstAdjList< VID_T, EDATA_T > Class Template Reference

A immutable iteratable adjencent list of a vertex. The list contains all neighbors in format of Nbr, which contains the other Node and the data on the Edge. More...

#include <adj_list.h>

Classes

class  const_iterator
 

Public Member Functions

DEV_HOST ConstAdjList (const NbrT *b, const NbrT *e)
 
DEV_HOST_INLINE bool Empty () const
 
DEV_HOST_INLINE bool NotEmpty () const
 
DEV_HOST_INLINE size_t Size () const
 
DEV_HOST const_iterator begin () const
 
DEV_HOST const_iterator end () const
 
DEV_HOST const NbrTbegin_pointer () const
 
DEV_HOST const NbrTend_pointer () const
 
DEV_HOST bool empty () const
 

Private Types

using NbrT = Nbr< VID_T, EDATA_T >
 

Private Attributes

const NbrTbegin_
 
const NbrTend_
 

Detailed Description

template<typename VID_T, typename EDATA_T>
class grape::ConstAdjList< VID_T, EDATA_T >

A immutable iteratable adjencent list of a vertex. The list contains all neighbors in format of Nbr, which contains the other Node and the data on the Edge.

Template Parameters
VID_T
EDATA_T