IBM SYSTEMG G RUNTIME & NATIVE STORE
0.5
IBM Native Graph Computing and Storage System based on IBM Parallel Programming Library
|
A wrapper for implementing a linear partition of vertices on graphs. More...
#include <for_each.h>
Public Member Functions | |
graph_linear_task_partitioner (G &g, PARTITION_TYPE ptype, size_t chunk_size) | |
![]() | |
linear_task_partitioner (graph_vertex_iterator< G > &data, PARTITION_TYPE ptype, size_t chunk_size) | |
linear_task_partitioner () | |
size_t | num_partitions () |
iterator | partition_begin (task_id chunk_id) |
iterator | partition_end (task_id chunk_id) |
Protected Attributes | |
graph_vertex_iterator< G > | _graph_iterator |
![]() | |
size_t | _chunk_size |
size_t | _num_chunks |
size_t | _total_size |
PARTITION_TYPE | _ptype |
graph_vertex_iterator< G > * | _data |
Private Types | |
typedef linear_task_partitioner < graph_vertex_iterator< G > > | base_type |
Additional Inherited Members | |
![]() | |
typedef graph_vertex_iterator < G >::iterator | iterator |
typedef graph_vertex_iterator < G >::const_iterator | const_iterator |
![]() | |
void | setData (graph_vertex_iterator< G > *data) |
void | init (PARTITION_TYPE ptype, size_t chunk_size) |
A wrapper for implementing a linear partition of vertices on graphs.
|
inline |
constructor: to build a linear partitioner of graphs by vertices