Need some edits on an existing swift code

Completado Publicado hace 6 años Pagado a la entrega
Completado Pagado a la entrega

Dear freelancer,

I have found code online (written in swift programming language) which represents an implementation for Dijkstra algorithm (this algorthim calculate the shortest path between two points). The code which I have found works fine but I want the user to enter the source and distantation. The version that I have found does not allow the user to enter any value it just allows user to see result only. For instance, suppose a user wants to see the shortest path between two points, which point "a" and point "b". The current version only shows the result without allowing the user to enter the source or distantation. So, in case the user want to change the source or distantation he/she has to do it from the code. I give it some tries (which written under ////my addition //// section), but none of my tries work [url removed, login to view], I want you please to do some changes on the code to allow the user to be able to enter the source and distantation and the values should be exclusive on the existing points. So, he/she should not be able to enter any point not exists in list of points which written in the code and If he/she tries to add new point alert message should be shown which tell him/her its impossible to add new point not exist in our pre-entered list.

please find the code in the attachment.

Thank you very much.

Regards,

ANM

SO Mac Objective C Swift Ubuntu

Nº del proyecto: #13915866

Sobre el proyecto

2 propuestas Proyecto remoto Activo hace 6 años

Adjudicado a:

kkokko555

Hi, Sir. I'm glad to bid on your project. As an expert of Android developing, I'm so suitable with your work and I'll provide you high quality of coding and clear style. You mentioned about Dijkstra algorithm, I Más

$20 USD en 1 día
(42 comentarios)
6.1

2 freelancers están ofertando un promedio de $28 por este trabajo

Dumbo667

*** Dumbo is ready to fly for your project success *** Hello. Thanks for posting your project. I have read your project description carefully and thought how I can complete the task in the shortest time. I can Más

$20 USD en 1 día
(0 comentarios)
0.0