libgrape-lite
A C++ library for parallel graph processing
|
LineParserBase is the base class for line parsers. More...
#include <line_parser_base.h>
Public Member Functions | |
virtual void | LineParserForEFile (const std::string &line, OID_T &u, OID_T &v, EDATA_T &e_data)=0 |
parser of edge file, to parse source vertex_id, destination vertex_id from a line. More... | |
virtual void | LineParserForVFile (const std::string &line, OID_T &u, VDATA_T &v_data)=0 |
parser of vertex file, to parse vertex_id and vertex_data from a string. More... | |
LineParserBase is the base class for line parsers.
OID_T | |
VDATA_T | |
EDATA_T |
|
pure virtual |
parser of edge file, to parse source vertex_id, destination vertex_id from a line.
line | |
u | |
v | |
e_data |
Implemented in grape::TSVLineParser< OID_T, VDATA_T, EDATA_T >.
|
pure virtual |
parser of vertex file, to parse vertex_id and vertex_data from a string.
line | |
u | |
v_data |
Implemented in grape::TSVLineParser< OID_T, VDATA_T, EDATA_T >.