GraphChi  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Macros
Public Types | Public Member Functions | Public Attributes
graphlab::GraphLabVertexWrapper< GLVertexDataType, EdgeDataType > Struct Template Reference

List of all members.

Public Types

typedef graphchi_vertex< bool,
EdgeDataType > 
VertexType
typedef GLVertexDataType vertex_data_type
typedef GraphLabVertexWrapper
< GLVertexDataType,
EdgeDataType > 
vertex_type

Public Member Functions

 GraphLabVertexWrapper (graphchi::vid_t vertexId, VertexType *vertex, std::vector< GLVertexDataType > *vertexArray)
bool operator== (vertex_type &other) const
const vertex_data_type & data () const
 Returns a constant reference to the data on the vertex.
vertex_data_type & data ()
 Returns a mutable reference to the data on the vertex.
size_t num_in_edges () const
 Returns the number of in edges of the vertex.
size_t num_out_edges () const
 Returns the number of out edges of the vertex.
graphchi::vid_t id () const
 Returns the vertex ID of the vertex.
graphchi::vid_t local_id () const
 Returns the local ID of the vertex.

Public Attributes

graphchi::vid_t vertexId
VertexTypevertex
std::vector< GLVertexDataType > * vertexArray

The documentation for this struct was generated from the following file: