GraphChi: How can I set the type of a vertex(or edge) to be a struct?

User 429 | 7/7/2014, 8:35:28 AM

According to the tutorial, static struct is allowed to be set as the type of vertices and edges. But the API of graph chivertex seems doesn't support operations on vertex since I "typedef STRUCTTYPE VertexDataType". Is it not compatible at all?

New to here, hope someone can provide some instruction. Many thanks.


User 6 | 7/7/2014, 10:11:09 AM

See an example here:

User 429 | 7/7/2014, 10:55:28 AM

@DannyBickson‌ Thank u for providing a clue, I'll try to figure it out!