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 |
VertexType * | vertex |
std::vector< GLVertexDataType > * | vertexArray |