FlashGraph-ng
A new frontier in large-scale graph analysis and data mining
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
fg::vertex_scheduler Class Referenceabstract

#include <graph_engine.h>

Public Member Functions

virtual void schedule (vertex_program &prog, std::vector< compute_vertex_pointer > &vertices)=0
 Implement this method in order to customize the vertex schedule. More...
 

Detailed Description

Order the position of vertex processing via this scheduler.

Member Function Documentation

virtual void fg::vertex_scheduler::schedule ( vertex_program prog,
std::vector< compute_vertex_pointer > &  vertices 
)
pure virtual

Implement this method in order to customize the vertex schedule.

Smart pointer for object access.

Parameters
progthe vertex program of the worker thread where we reschedule vertices.
verticesAn std::vector of vertex IDs defining the order in which vertices in the graph should be processed.

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