A question about Dijkstra's algorithm
From: Bilal Sallakh (afkar_at_mail2world.com)
Date: 01/18/04
- Next message: Steve Young: "Re: MOST USEFUL Computer Language"
- Previous message: Ian Woods: "Re: MOST USEFUL Computer Language"
- Next in thread: Jim Nastos: "Re: A question about Dijkstra's algorithm"
- Reply: Jim Nastos: "Re: A question about Dijkstra's algorithm"
- Reply: David Eppstein: "Re: A question about Dijkstra's algorithm"
- Reply: A. G. McDowell: "Re: A question about Dijkstra's algorithm"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 18 Jan 2004 09:30:58 -0800
Given a directed acyclic graph with all edges have negative weights.
Can we modify dijkstra's shortest path algorithm to find the shortest
path in such a
graph?
That is equivilant to:
Can we modify dijkstra's shortest path algorithm to find the longest
path in a direct
acyclic graph with all edges have positive weights?
I know that in both cases a linear algorithm suffices where we "relax"
the edges of
the vertices taken into topological order -The so called Bellman
Algorithm. But I'm
discussing Dijkstra's.
Also I expect that no modification can be found.
But our instructor insists that some modifications can make dijkstra's
algoirthm work.
He claims that he read that in an old reference.
Regards.
- Next message: Steve Young: "Re: MOST USEFUL Computer Language"
- Previous message: Ian Woods: "Re: MOST USEFUL Computer Language"
- Next in thread: Jim Nastos: "Re: A question about Dijkstra's algorithm"
- Reply: Jim Nastos: "Re: A question about Dijkstra's algorithm"
- Reply: David Eppstein: "Re: A question about Dijkstra's algorithm"
- Reply: A. G. McDowell: "Re: A question about Dijkstra's algorithm"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]