Jump to content
Sign in to follow this  
alyousufi

Connection [transit] flight

Recommended Posts

Hi 

is that possible to do the connection flight in virtual ?

 

For example the main hub is Dubai 

and pilot want to fly from Paris to Sydney through Dubai ?

 

for example when search for flight  from Paris to Sydney it will show for him 

1- EK1 from paris to Dubai

2- EK23 from dubai to Sydney 

i mean the result should be show the flight with connection flight to sydney 

is that possible or not if anyone have module or code please share with us 

Edited by alyousufi

Share this post


Link to post
Share on other sites

I'm not going to code it...but if anyone were to implement this efficiently you would use a Graph Data Structure with Dijkstra's algorithm to find the shortest path between two destinations (This is probably the same algorithm that big airlines use for booking system). I guess an easy way to cheat around is just to code a multi-leg schedule system. So to answer your first question, yes it is possible. This would be a pretty good Software Engineering challenge for someone in the community.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...