|
void | Init (MPI_Comm comm) override |
| Initialize message manager. More...
|
|
void | Start () override |
| This function will be called before Init step of applications.
|
|
void | StartARound () override |
| This function will be called before each evaluation step of applications.
|
|
void | FinishARound () override |
| This function will be called after each evaluation step of applications.
|
|
bool | ToTerminate () override |
| This function will be called by worker after a step to determine whether evaluation is terminated. More...
|
|
void | Finalize () override |
| This function will be called after the evaluation of applications.
|
|
void | ForceContinue () override |
| Force continue to evaluate one more round even if all workers stop sending message. More...
|
|
void | ForceTerminate (const std::string &terminate_info="") override |
| Force all workers terminate after this round of evaluation. More...
|
|
const TerminateInfo & | GetTerminateInfo () const override |
| This function is called to get gathered termination info after evaluation finished. More...
|
|
size_t | GetMsgSize () const override |
| Get size of messages sent by this message manager instance. The return value is valid only after FinishARound is called. StartARound will reset the value to zero. More...
|
|
template<typename FRAG_T , typename MESSAGE_T > |
void | AllocateGatherBuffers (const FRAG_T &frag) |
|
template<typename GRAPH_T , typename MESSAGE_T , typename AGGR_T > |
void | GatherMasterVertices (const GRAPH_T &frag, const typename GRAPH_T::template both_vertex_array_t< MESSAGE_T > &input, typename GRAPH_T::template vertex_array_t< MESSAGE_T > &output) |
|
template<typename GRAPH_T , typename MESSAGE_T > |
void | ScatterMasterVertices (const GRAPH_T &frag, const typename GRAPH_T::template vertex_array_t< MESSAGE_T > &input, typename GRAPH_T::template both_vertex_array_t< MESSAGE_T > &output) |
|