MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: All pairs shortest paths


Bah, my solution is wrong because it loses the relationship between the 
input vertex names and the indices into the adjacency matrix. So I don't 
know how to solve this problem using Mathematica. :-(

How does AdjacencyMatrix work?

"Jon Harrop" <usenet at ffconsultancy.com> wrote in message 
news:i30gik$mfm$1 at smc.vnet.net...
> "Jon Harrop" <usenet at ffconsultancy.com> wrote in message
> news:i2ub6h$jga$1 at smc.vnet.net...
>> Does Mathematica really not provide a built-in function to compute
>> all-pairs
>> shortest paths?
>
> FWIW, this is quite tricky so I have blogged a solution here:
>
> http://mathematicanews.blogspot.com/2010/07/all-pairs-shortest-paths.html
>
> Cheers,
> Jon.
>
> 



  • Prev by Date: Re: MinCut crashes the Mathematica kernel
  • Next by Date: export to file with a specific precision
  • Previous by thread: Re: All pairs shortest paths
  • Next by thread: ReplaceAll and ReplaceRepeated Strange Behavior