Closed aminmkhan closed 5 years ago
Maybe it is due to different file format? "src : dst1 dst2" "src dst1 dst2"
Right. To cope with different format is just to write different parsing function.
Could you help add comment there instead of this modification? Thanks a lot.
Maybe it is due to different file format? "src : dst1 dst2" "src dst1 dst2"
To handle such different formats in my opinion, better approach would be to update separators:
For example:
boost::char_separator<char> sep(" \t,:;");
This approach is okay for me but if any other separator?
Emm.. That it++
may be to skip the number of neighbors. I think the program assumes the format of each line is : source num_neighbors neighbor_1 neighbor_2 ... neighbor_n
. This format is quite common by the way.
Agree to all your points, without any comments this could be confusing, especially when working with different file formats. Updated with more comments.
Thanks for the fixing!
After reading Vertex ID, avoid Tokenizer iterator getting incremented twice