AutoAppBase is a base class for auto-parallel apps. It contains an AutoParallelMessageManager to process messages implicitly during the computation.
More...
#include <auto_app_base.h>
|
virtual void | PEval (const FRAG_T &graph, CONTEXT_T &context)=0 |
| Partial evaluation to implement. More...
|
|
virtual void | IncEval (const FRAG_T &graph, CONTEXT_T &context)=0 |
| Incremental evaluation to implement. More...
|
|
|
static constexpr bool | need_split_edges = false |
|
static constexpr bool | need_split_edges_by_fragment = false |
|
static constexpr MessageStrategy | message_strategy |
|
static constexpr LoadStrategy | load_strategy = LoadStrategy::kOnlyOut |
|
template<typename FRAG_T, typename CONTEXT_T>
class grape::AutoAppBase< FRAG_T, CONTEXT_T >
AutoAppBase is a base class for auto-parallel apps. It contains an AutoParallelMessageManager to process messages implicitly during the computation.
- Template Parameters
-
◆ IncEval()
template<typename FRAG_T , typename CONTEXT_T >
virtual void grape::AutoAppBase< FRAG_T, CONTEXT_T >::IncEval |
( |
const FRAG_T & |
graph, |
|
|
CONTEXT_T & |
context |
|
) |
| |
|
pure virtual |
Incremental evaluation to implement.
- Note
- : This pure virtual function works as an interface, instructing users to implement in the specific app. The IncEval in the inherited apps would be invoked directly, not via virtual functions.
- Parameters
-
◆ PEval()
template<typename FRAG_T , typename CONTEXT_T >
virtual void grape::AutoAppBase< FRAG_T, CONTEXT_T >::PEval |
( |
const FRAG_T & |
graph, |
|
|
CONTEXT_T & |
context |
|
) |
| |
|
pure virtual |
Partial evaluation to implement.
- Note
- : This pure virtual function works as an interface, instructing users to implement in the specific app. The PEval in the inherited apps would be invoked directly, not via virtual functions.
- Parameters
-
◆ message_strategy
template<typename FRAG_T , typename CONTEXT_T >
Initial value:=
@ kSyncOnOuterVertex
from a to b, a to c;