1 Replies - 973 Views - Last Post: 27 May 2012 - 01:44 PM

#1 olfa  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 27-May 12

calculating shortest path with data extracted from the database

Posted 27 May 2012 - 04:41 AM

Hello
if any one have an idea that can help me I would be grateful
So i should create a web service wich will communicate with my android application .in my android app the client choose two point start and arrival this two point will be send to my web service to find the bus that has the shortest path between them. i have a probleme in web service side
I try to use Dijkstra's algorithm to find the shortest path between two points. to test the Dijkstra algorithm I must extract data from a mysql database and not put it right into my algorithm.but i dont Khnow how can i do it
in my database I have two table that contains the bus route (bus num), code (station id), pt_arret (station name). and another table which contains location code (id station), latitude and longitude, and distance (is the distance between a station and the station which precedes.
(im sorry for the mistacke of spelling because i don't speak english very fluently)
thanks in advance:)

Is This A Good Question/Topic? 0
  • +

Replies To: calculating shortest path with data extracted from the database

#2 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10596
  • View blog
  • Posts: 39,258
  • Joined: 27-December 08

Re: calculating shortest path with data extracted from the database

Posted 27 May 2012 - 01:44 PM

Please avoid duplicate posting.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1