The easiest solution is to fork sumo and modify the code at https://github.com/eclipse/sumo/blob/master/src/utils/router/DijkstraRouter.h This code is the default algorithm used within duarouter and sumo. See also https://sumo.dlr.de/docs/Simulation/Routing.html#routing_algorithms
Am Mi., 7. Apr. 2021 um 16:23 Uhr schrieb Hillary Wankam via sumo-dev < sumo-dev@eclipse.org>: > Thank you. I have my own routing algorithm developped and i want to > implement it on sumo rather than the one SUMO uses by defaults. > ------------------------------ > *De :* sumo-dev <sumo-dev-boun...@eclipse.org> de la part de Jakob > Erdmann <namdre.s...@gmail.com> > *Envoyé :* mercredi 7 avril 2021 16:21 > *À :* sumo developer discussions <sumo-dev@eclipse.org> > *Objet :* Re: [sumo-dev] Integrate an optimization code to SUMO > > Yes. > Do you want a faster routing algorithm (i.. dijkstra versus A*) or do you > want one that optimizes another target function? Duarouter computes fastest > paths by default but can also optimize any other target function by setting > different edge "weights". > > Am Mi., 7. Apr. 2021 um 15:28 Uhr schrieb Hillary Wankam via sumo-dev < > sumo-dev@eclipse.org>: > > Hello, > I want to know please if there is a way to modify the source code of SUMO > so as to integrate a new optimization code, so as to compute shortest paths > with it and not with duarouter. > Best Regards, > Hillary WANKAM > _________________________________________________________ > > EMAIL LEGAL MENTION / DISCLAIMER > > This message contains information that may be privileged or confidential > and is the property of the Expleo Services SAS, RCS Versailles 831 178 348, > located, 3 avenue des Prés, 78180 Montigny Le Bretonneux - France. It is > intended only for the person to whom it is addressed. If you are not the > intended recipient, you are not authorized to read, print, retain, copy, > disseminate, distribute, or use this message or any part thereof. If you > receive this message in error, please notify the sender immediately and > delete all copies of this message. > > Ce message contient des informations qui peuvent être privilégiées ou > confidentielles et elles sont de la propriété d'Expleo Services SAS, RCS > Versailles 831 178 348, situé, 3 avenue des Prés, 78180 Montigny le > Bretonneux-France. Il est destiné uniquement à la personne à qui est > adressé. Si vous n'êtes pas le destinataire visé, vous n'êtes pas autorisé > à lire, imprimer, conserver, copier, diffuser, distribuer ou utiliser ce > message ou toute partie de celui-ci. Si vous recevez ce message par erreur, > veuillez en avertir immédiatement l'expéditeur et supprimer toutes les > copies de ce message. > _______________________________________________ > sumo-dev mailing list > sumo-dev@eclipse.org > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-dev > <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.eclipse.org_mailman_listinfo_sumo-2Ddev&d=DwMFaQ&c=HW6sFd2W7ocfSPROWztN-Q&r=W6bVWJgt43STxbTmjLFzOdYMCPHAfmw5Rlj8cT9CV00&m=K-EkzgbfCmnZm7Rcu0Er44gkFGP9Ck3Y5_gQd5Vwoe0&s=b7J4Z3YcZmAaLIUb0Ik7KllIh03autgMZ9ORb9rNkgg&e=> > > _______________________________________________ > sumo-dev mailing list > sumo-dev@eclipse.org > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-dev >
_______________________________________________ sumo-dev mailing list sumo-dev@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-dev