Hi I think this problem is
not difficult as u think It is just a flow
problem, with the following constrains 1.
the max flow can pass an edge is 1 2.
the max flow can pass a vertex is also 1, except the first &
last vertex then this is a minimum
cost max flow problem (MCMF) From:
algogeeks@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pradeep Muthukrishnan I am sorry , when I spoke to the author of
the post he had mentioned a different question which is On 10/30/06, Dhyanesh (ધયાનેશ) <[EMAIL PROTECTED]>
wrote: I
just submitted a solution which uses BFS and passes the judge cases. So it is
indeed a shortest path problem. Using Djistra's would be fine too, but as it is
here the edge weights are just 1 so BFS works. On 10/30/06, Karthik Singaram L <
[EMAIL PROTECTED]> wrote: I am not sure If I got the question right
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups-beta.google.com/group/algogeeks -~----------~----~----~----~------~----~------~--~--- |
- [algogeeks] PAIR of shortest paths... vijay
- [algogeeks] Re: PAIR of shortest paths.... Dhyanesh (ધયાનેશ)
- [algogeeks] Re: PAIR of shortest pa... Pradeep Muthukrishnan
- [algogeeks] Re: PAIR of shortes... Dhyanesh (ધયાનેશ)
- [algogeeks] Re: PAIR of shortes... Karthik Singaram L
- [algogeeks] Re: PAIR of sho... Dhyanesh (ધયાનેશ)
- [algogeeks] Re: PAIR o... Pradeep Muthukrishnan
- [algogeeks] Re: PA... shisheng li