10740 - Not the Best

All about problems in Volume CVII. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

Postby david » Sun Oct 24, 2004 6:41 pm

What reference do you need? Isn't slightly modified Dijkstra (with counting the k-th shortest path to all the verticles) good enough?

No, it isn't. It is not inmediately clear how to deal with zero-length cycles.
david
Learning poster
 
Posts: 83
Joined: Mon Apr 21, 2003 10:14 pm

Postby Krzysztof Duleba » Mon Oct 25, 2004 1:30 am

I don't really get what's wrong with zero-length circuits. You should visit a verticle only if it's k-th shortest path from the source isn't already known. So if you have zero-length circuit, you should take it at most k times.
User avatar
Krzysztof Duleba
Guru
 
Posts: 584
Joined: Thu Jun 19, 2003 3:48 am
Location: Sanok, Poland

Postby Monsoon » Tue Feb 22, 2005 2:37 am

Hi,
could anyone give more test cases to check my program...,
is there exist any special test case?

TIA.
Monsoon
Learning poster
 
Posts: 66
Joined: Fri Jul 23, 2004 4:42 pm
Location: Poland

Postby Monsoon » Tue Feb 22, 2005 3:08 pm

thx, i found my mistake...
Monsoon
Learning poster
 
Posts: 66
Joined: Fri Jul 23, 2004 4:42 pm
Location: Poland

10740 "Not The Best" ...Please Inputs!!!

Postby chuzpa » Fri Apr 15, 2005 11:57 pm

I removed my code :$, It has been long enogh here haha, enjoy the problem ..
Last edited by chuzpa on Tue Oct 20, 2009 11:37 pm, edited 1 time in total.
chuzpa
New poster
 
Posts: 33
Joined: Fri Jun 18, 2004 8:39 am
Location: Mexico

hi there...

Postby chuzpa » Sat Apr 23, 2005 7:40 pm

Hi nobody answered me ... :s hahaha but it is accepted now ....
chuzpa
New poster
 
Posts: 33
Joined: Fri Jun 18, 2004 8:39 am
Location: Mexico

Postby ImLazy » Mon Nov 19, 2007 5:08 pm

I use the MPS algorithm introduced in the article The K shortest paths problem from this page. It's fast.
I stay home. Don't call me out.
User avatar
ImLazy
Experienced poster
 
Posts: 215
Joined: Sat Jul 10, 2004 4:31 pm
Location: Shanghai, China

Previous

Return to Volume CVII

Who is online

Users browsing this forum: No registered users and 0 guests