Dijkstra's alogirthm & Shortest path problems

Please support our Computer Science advertiser: Learn about neural networks and artificial intelligence.
Closed Thread

Join Date: Sep 2006
Posts: 4
Reputation: Shailesh33 is an unknown quantity at this point 
Solved Threads: 0
Shailesh33 Shailesh33 is offline Offline
Newbie Poster

Dijkstra's alogirthm & Shortest path problems

 
0
  #1
Dec 2nd, 2006
Hi,
I am having trouble to find the specific information about Dijkstra agorithm and Shortest Path techniques for my following two problems. Please help me by providing either specific answer or URL for my questions. I appreciate your help.
==============================
[1] What is the running time of Dijkstra’s algorithm if the min-priority queue is implemented using a sorted array. I need to prove the answer by giving an example.

[2] Dijkstra’s algorithm can be easily modified to work on undirected graphs. Let T be a tree of shortest paths constructed by the modified algorithm for an undirected, connected, weighted graph G with positive weights.
1. True or false: T is a spanning tree of G? If it is true, give a proof. If it is false, give a counterexample.
2. True or false: T is a minimum spanning tree of G? If it is true, give a proof. If it is false, give a counterexample.
=====================================
Thanks in advacne for all input.
Quick reply to this message  
Join Date: Sep 2004
Posts: 7,850
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 754
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Senior Bitch

Re: Dijkstra's alogirthm & Shortest path problems

 
0
  #2
Dec 2nd, 2006
The point of the questions is for you to do the analysis and come up with an answer. Any loser can find the answer by exhaustively searching for it online (well, maybe not any loser ); a promising computer scientist, as I'm sure you are, isn't afraid to figure it out for himself.
New members chased away this month: 4
Quick reply to this message  
Join Date: Feb 2002
Posts: 12,057
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 129
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: Dijkstra's alogirthm & Shortest path problems

 
0
  #3
Dec 2nd, 2006
[search]dijkstra's algorithm[/search]

You gotta love our new search bbcode
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
Quick reply to this message  
Join Date: Sep 2004
Posts: 7,850
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 754
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Senior Bitch

Re: Dijkstra's alogirthm & Shortest path problems

 
0
  #4
Dec 2nd, 2006
>You gotta love our new search bbcode
It's a whole new level of catering to lazy people.
New members chased away this month: 4
Quick reply to this message  
Join Date: Feb 2002
Posts: 12,057
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 129
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: Dijkstra's alogirthm & Shortest path problems

 
0
  #5
Dec 2nd, 2006
Don't worry - I'll have you using it in no time
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
Quick reply to this message  
Join Date: Sep 2006
Posts: 4
Reputation: Shailesh33 is an unknown quantity at this point 
Solved Threads: 0
Shailesh33 Shailesh33 is offline Offline
Newbie Poster

Re: Dijkstra's alogirthm & Shortest path problems

 
-1
  #6
Dec 5th, 2006
I found no help from this Forum...it is westing of time..
People know how to give advice but don't know how to answer...
-sorry
Quick reply to this message  
Join Date: Sep 2004
Posts: 7,850
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 754
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Senior Bitch

Re: Dijkstra's alogirthm & Shortest path problems

 
0
  #7
Dec 5th, 2006
>I found no help from this Forum...it is westing of time..
The feeling is mutual. After seeing how grateful you are that I saved you from making a huge mistake by not learning anything, I feel like I've wasted my time.

>People know how to give advice but don't know how to answer...
Here's an answer: Do your own homework! I've already done this stuff for myself, so why should I do it for you? What if you sail through your coarses and then become my co-worker? Then I have to deal with your incompetence because I did your work for you. Sorry, but I'm on a quest to improve the field, and people like you just drag it further into the gutter.
New members chased away this month: 4
Quick reply to this message  
Join Date: May 2006
Posts: 1,422
Reputation: stymiee is on a distinguished road 
Solved Threads: 35
Moderator
stymiee's Avatar
stymiee stymiee is offline Offline
He's No Good To Me Dead

Re: Dijkstra's alogirthm & Shortest path problems

 
0
  #8
Dec 5th, 2006
Originally Posted by Shailesh33 View Post
I found no help from this Forum...it is westing of time..
People know how to give advice but don't know how to answer...
-sorry
You have to remember that this is a community of volunteers. No one is here because they have to be. They are here because they want to be. Every time a member here assists someone in any way it is a gesture of kindness and selflessness. You should never expect expect someone to give you what you are looking for. You can hope and you should ask for help, but never expect things to be handed to you. Especially when it is obvious that you are expecting them to do your homework for you. We want to help you learn but not by doing your work for you.

You should also be grateful for any response you get. Being negative, like you have here, only serves to prevent members from helping you any further in this thread and in the future. That's certainly not what you are after.

Hopefully you remember this so in your future endevours on this forum, or any other forum, you might behave in a more positive and professional manner and get the help it is you seek.
John Conde
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
Quick reply to this message  
Closed Thread

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Computer Science Forum


Views: 4653 | Replies: 7
Thread Tools Search this Thread



Tag cloud for Computer Science
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC