libgrape-lite
A C++ library for parallel graph processing
|
Public Member Functions | |
VertexMapBuilder (fid_t fid, fid_t fnum, std::unique_ptr< IPartitioner< OID_T >> &&partitioner, IdxerType idxer_type) | |
fid_t | get_fragment_id (const internal_oid_t &oid) const |
void | add_vertex (const internal_oid_t &id) |
void | finish (const CommSpec &comm_spec, VertexMap< OID_T, VID_T > &vertex_map) |
Private Types | |
using | internal_oid_t = typename InternalOID< OID_T >::type |
Private Attributes | |
fid_t | fid_ |
fid_t | fnum_ |
IdxerType | idxer_type_ |
std::unique_ptr< IPartitioner< OID_T > > | partitioner_ |
std::vector< std::unique_ptr< IdxerBuilderBase< OID_T, VID_T > > > | idxer_builders_ |