Public Member Functions | |
void | update (graphchi_vertex< VertexDataType, EdgeDataType > &vertex, graphchi_context &gcontext) |
void | before_iteration (int iteration, graphchi_context &gcontext) |
void | after_iteration (int iteration, graphchi_context &gcontext) |
void | before_exec_interval (vid_t window_st, vid_t window_en, graphchi_context &gcontext) |
void | after_exec_interval (vid_t window_st, vid_t window_en, graphchi_context &gcontext) |
Public Attributes | |
volatile size_t | ndeleted |
Additional Inherited Members | |
![]() | |
typedef VertexDataType | VertexDataType |
typedef EdgeDataType | EdgeDataType |
Smoke test. On every iteration, each vertex sets its id to be id + iteration number. Vertices check whether their neighbors were set correctly. This assumes that the vertices are executed in round-robin order.
|
inlinevirtual |
Called after an execution interval has finished.
Reimplemented from graphchi::GraphChiProgram< VertexDataType, EdgeDataType >.
|
inlinevirtual |
Called after an iteration has finished.
Reimplemented from graphchi::GraphChiProgram< VertexDataType, EdgeDataType >.
|
inlinevirtual |
Called before an execution interval is started.
Reimplemented from graphchi::GraphChiProgram< VertexDataType, EdgeDataType >.
|
inlinevirtual |
Called before an iteration starts.
Reimplemented from graphchi::GraphChiProgram< VertexDataType, EdgeDataType >.
|
inlinevirtual |
Vertex update function.
Implements graphchi::GraphChiProgram< VertexDataType, EdgeDataType >.