Turi Create
4.0
|
#include <core/storage/sgraph_data/sgraph_synchronize_interface.hpp>
Public Attributes | |
size_t | partition_id |
id of the partition that vertices belong to. | |
std::vector< std::pair< size_t, sgraph_vertex_data > > | vertices |
std::vector< size_t > | field_ids |
A subset of field ids the vertex data contain. | |
Storing a subset of vertex data of a subset of vertices from an sgraph partition.
The vertex data can be a subset of fields, but all vertices in the same exchange object must contain the same set of fields.
Definition at line 37 of file sgraph_synchronize_interface.hpp.
std::vector<std::pair<size_t, sgraph_vertex_data> > turi::sgraph_compute::vertex_partition_exchange::vertices |
index and data pair of the vertices to be exchanged. vertices[i] : (vindex, vdata) where vindex is the local_id of the vertex in the partition; and vdata contains the subset of vertex data. The subset is defined by field_ids.
Definition at line 49 of file sgraph_synchronize_interface.hpp.