Olfa Dhaouadi
2012-05-24 13:57:32 UTC
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 :)
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 :)