Graph Converter

Text Edge List to Binary CSR

Usage:
For forward edges (outgoing):
g++ txt_to_bin_fw_int.cpp -o txt_to_bin_fw

./txt_to_bin_fw toy_edge_list.txt

After that, the "fw_begin.bin" stores the begin position and "fw_adjacent.bin" stores the adjacent lists

For backward edges (incoming):
g++ txt_to_bin_bw_int.cpp -o txt_to_bin_bw

Similarly to forward edges.

Note: Be careful about the data type (int, unsigned int, long int) you are using, one can change in the source code.

最后修改日期: 2020年4月9日

作者

留言

撰写回覆或留言

发布留言必须填写的电子邮件地址不会公开。