| Author |
Comment/Response |
cruise
|
10/27/10 12:08pm
I do not want to use Diameter[g] because it's inefficient for trees. To find the diameter of tree's you just need to do two distance calculations. However distance[g,v] only returns lengths, not vertex index.
Does anyone know of a fast way to calculate diameter of TREE in mathematica?
URL: , |
|