You might get a little improvement using the
average_shortest_path_length() function we added recently.
I just tested it with
In [32]: G=networkx.gnp_random_graph(1000,0.1)
In [33]: G.number_of_edges()
Out[33]: 50383
In [34]: G.number_of_nodes()
Out[34]: 1000
In [35]: print networkx.average_shortest_path_length(G)
1.897266
and that took about 10 seconds.
> Has anyone implemented one of the estimation algorithms? Could the
> recently-discussed A* algorithm be used for this? Anyone have ideas
> about a nice solution?
I remember seeing some papers using sampling to estimate the diameter
and other properties. You might try searching for those.
Aric