开发者

diameter of a huge graph

I have a huge graph that I would like to process using many machines.

I had like to compute if the graph diameter is higher 开发者_如何学Pythonthan 50.

How would I split the data and I would I write a parallel algorithm that can calculate it? (the return value is boolean)

The graph diameter is the greatest distance between any pair of vertices


The standard way to figure this out would be an all-pairs shortest path algorithm -- the Floyd-Warshall algorithm is a good place to start. Another option using Hadoop is located here.


Take a look at Parallel implementation of graph diameter algorithms

Also: Parallel Graph Algorithms

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜