Click here to Skip to main content
16,017,907 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to do an Application that can help find the best route possible.

Example, Taking a train from one station to another. Some stations require us switching trains.

I don't have to know the solution, How do i start this? I am not asking for solutions or easy way out.

What I have tried:

I tried googling, Came up with Travelling Sales algorithm/A* algorithm but they really look so complicated for a beginner programmer like me. I am working with C#. Any small tips will help me.
Posted
Updated 26-Dec-18 12:38pm

Euclidean and Manhattan distance algorithms are most commonly used approaches to solve distance problems and are relatively easier to implement. If you are into such problems for the first time then you can first start to look at distance problems online, that will help you develop understanding your problem statement better and then look for solution. Below are few references for you to start looking at.

Let me know if that helps.

Five most popular similarity measures implementation in python[^]

mathematics - Calculating distance with Euclidean, Manhattan, and Chebyshev in C# - Code Review Stack Exchange[^]

https://www.codeproject.com/questions/645917/manhattan-distance-csharp
 
Share this answer
 
Comments
Member 14096158 26-Dec-18 6:25am    
Thank You, I will look into it and study!
You already posted almost the same question: Editing a Question[^]
and accepted an answer. What is wrong in first question?
Quote:
I want to do an Application that can help find the best route possible.

You first need to define what is the best route, what makes a route better than another.
Quote:
but they really look so complicated for a beginner programmer like me.

Algorithms look complicated because they are complicated, Finding best path is a hard problem, efficient solutions are complicated. If you are really a beginner, such problem is too complicated because you lack necessary background.
It is like trying to learn to drive a car by winning a Formula 1 grand price, it don't work.
Programming have been teach to millions of people, what works and what don't is known and that is the reason teachers are teaching the way they are, it is the easy way.

My advice: put this project aside for now and learn with simpler projects, then come back to this project.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900