|
Boost Users : |
From: Giulio Veronesi (giulio_veronesi_at_[hidden])
Date: 2005-09-17 01:40:39
Hi,
Thank you very much. I've just tried to use your implementation but I've
some problems. What version of BGA are you using? I'm using version
1_33_0 but I can locate boost/io/format/std/pair.hpp that you include in
your k_shortest.hpp (line 20).
Because it is very important for me an implementation of this algorithm,
I'm ready to change BGL version if it is necessary.
Thanks a lot,
Maurizio
Vladimir Prus ha scritto:
> Hi Giulio,
>
>
>>Hi all,
>>
>>I'd like to extract all possible shortest path from a source to a
>>destination... not only one path. Please, could you help me to resolve
>>this problem?
>
>
> Hi,
> I'm afraid BGL does not have such a algorithm at the moment.
>
> One though that comes to me is the use another algorithm (not present in
> BGL, either), for finding k shortest paths. You'll then be getting next
> shortest path until the lengths are all the same.
>
> There are several algorithms for finding k shortest paths, one being
> http://citeseer.ist.psu.edu/jimenez94algorithm.html
>
> My implementation can be found at http://zigzag.cs.msu.su/~ghost/k_shortest
> Look specifically at the k_shortest.hpp file.
>
> Of course, no warranties. This worked for me and I did test it against
> independent implementation, but the only way to find it it works for you is
> to test.
>
> - Volodya
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net