Need Help: web service et base de donnée

Fermé
olfa_dh Messages postés 1 Date d'inscription jeudi 24 mai 2012 Statut Membre Dernière intervention 24 mai 2012 - Modifié par olfa_dh le 24/05/2012 à 12:10
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.
thanks in advance :)?