Public Member Functions | |
| virtual void | set_latent_factor (graphchi_vertex< VertexDataType, EdgeDataType > &vertex, latentvec_t &fact) |
| void | before_iteration (int iteration, graphchi_context &gcontext) |
| void | update (graphchi_vertex< VertexDataType, EdgeDataType > &vertex, 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 | |
| std::vector< latentvec_t > | latent_factors_inmem |
Additional Inherited Members | |
Public Types inherited from graphchi::GraphChiProgram< VertexDataType, EdgeDataType > | |
| typedef VertexDataType | VertexDataType |
| typedef EdgeDataType | EdgeDataType |
GraphChi programs need to subclass GraphChiProgram<vertex-type, edge-type> class. The main logic is usually in the update function.
|
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 >.
1.8.1.1