473,396 Members | 2,085 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Shortest path application

I am developing a program using VB.NET that will accept a start and end
point, the system then will generate the shortest path to reach the end
point. Anyone here have idea on doing this or some code examples that can
share it with me?

Thanks in advance.
Nov 19 '05 #1
5 7372
look up "Djikstra's Algortihm" on web, there are plenty of books that go in
depth on implementing this algorithm
(the "shortest path" algortihm)
"leezard" <le*****@mail.com> wrote in message
news:#3**************@TK2MSFTNGP09.phx.gbl...
I am developing a program using VB.NET that will accept a start and end
point, the system then will generate the shortest path to reach the end
point. Anyone here have idea on doing this or some code examples that can
share it with me?

Thanks in advance.

Nov 19 '05 #2
Hi Leezard,

I did a contract about ten years ago during which I wrote a route-planner
for a mapping application (like AutoRoute). It found the shortest distance
or the quickest time and was able to avoid specified nodes.

I can give you the full source (in C) but not the datafile (it was on a CD
at a time when hard disks were how small?!!)

If you can read C then you are welcome to it. Variable names are nice and
long :-) but comments are practically non-existant - ie. it's
"self-documenting code", ha-ha!!

If nothing else, it will give you an example to look at as you study
Djikstra's Algortihm and Algorithm (he did both - one in English, the other
in Dyslexic, lol).

If you're lucky, you might persuade me to explain how it works. You'll have
to tell me more about your project though. A question for a question,
Clarissa.

All the best,
Fergus.
Nov 19 '05 #3
I've did some reading on Dijkstra's Algorithm, but I don't have any idea on
implementing in my program.

"Martin Ortiz" <ma*********@optonline.com> wrote in message
news:uw***************@TK2MSFTNGP10.phx.gbl...
look up "Djikstra's Algortihm" on web, there are plenty of books that go in depth on implementing this algorithm
(the "shortest path" algortihm)

Nov 19 '05 #4
Hi Fergus Cooney,
My project is developing a program in VB.NET for pocket pc platform, I would
like to implement a function where user select the origin station and the
destination station. As there are more than 1 route to get from station A to
station B, I would like the system to generate the shortest path (using any
algorithm).

Hope you can guide me,
Thanks.

"Fergus Cooney" <wo****@tesco.net> wrote in message
news:O0**************@TK2MSFTNGP09.phx.gbl...
Hi Leezard,

I did a contract about ten years ago during which I wrote a route-planner
for a mapping application (like AutoRoute). It found the shortest distance
or the quickest time and was able to avoid specified nodes.

I can give you the full source (in C) but not the datafile (it was on a CD
at a time when hard disks were how small?!!)

If you can read C then you are welcome to it. Variable names are nice and
long :-) but comments are practically non-existant - ie. it's
"self-documenting code", ha-ha!!

If nothing else, it will give you an example to look at as you study
Djikstra's Algortihm and Algorithm (he did both - one in English, the other in Dyslexic, lol).

If you're lucky, you might persuade me to explain how it works. You'll have to tell me more about your project though. A question for a question,
Clarissa.

All the best,
Fergus.

Nov 19 '05 #5
I've sent an email to you. Sorry for the incovenience and Thanks for posting
it.

"Fergus Cooney" <wo****@tesco.net> wrote in message
news:uK**************@TK2MSFTNGP10.phx.gbl...
Hi Leezard,

I wrote a reply with an attachment yesterday (Friday) and posted it but it hasn't appeared. On Saturday afternoon I sent you the same but it was
returned with the message that your email address le*****@mail.com doesn't
exist. I'm going to post that reply again, now, but it may fail to show up
again. (I don't know why).

In any case, please use a real email address. If you don't want it to
show publicly here, email me directly.

Regards,
Fergus

Nov 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Lau | last post by:
How do I easily calculate the shortest path between two geographical spots on a map? The map is divided into zones. So I guess it is possible to use Dijkstra’s Shortest Path algorithm, but it...
6
by: ThanhVu Nguyen | last post by:
Hi all, I need recommendation for a very fast shortest path algorithm. The edges are all directed, positive weights. Dijkstra shortest path will solve it just fine but the if the graph is not...
20
by: Webdad | last post by:
Hi! I running my first year as industrial engineer (informatics) We have an assignment to do : .... create a playfield (matrix). Some places in that field are blocked, so you can't pass them....
4
by: Shuch | last post by:
Hi all, I am in shortage of time...and i want to know if someone has a code written in c++ or c for finding the shortest path using stack or queue??????my specifications r as follow: Input...
5
by: costantinos | last post by:
Hello. I have implemented the Dijkstra shortest path algorithm, it works fine but I have one question on how I can improve something. I want to find all the possible shortest paths from a node...
0
by: xson | last post by:
i would like to build up a shortest path program in VB.net However, i can't find source on a route-planner for a mapping application (like AutoRoute). can anyone help me on this topic?
0
by: diffuser78 | last post by:
Is there any function in networkx which can compute the shortest mean path length. (Shortest length between all pairs of the nodes in the graph). Thanks,
2
by: Bytter | last post by:
Hi everyone, I need to implement a very quick (performance-wise) Dijkstra shortest path in python, and found that libboost already has such thing. Problem is: I cannot find the installation...
5
by: aleya | last post by:
I am developing a program using VB.NET that will accept a start and end location (2 list boxes), the system then will generate the shortest path to reach the end point. for your information i got a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.