ljf921007 / graphchi

Automatically exported from code.google.com/p/graphchi
0 stars 0 forks source link

There should be a way to initialize vertex-data #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

All current example apps initialize their vertex data in the update function, 
on first iteration. For some applications, such as common in belief 
propagation, vertices have predefined values. This is easy to accomplish in 
GraphChi: simply write the [file-prefix].vout file before running the 
application. This file is just a flat binary array.

However, it would be useful to have a tool to parse a text file into the vertex 
data file, at least to show an example.

Original issue reported on code.google.com by akyrola...@gmail.com on 27 Jun 2012 at 4:32