[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-dev] Fwd: Routing Algorithm
|
- From: Michael Behrisch <oss@xxxxxxxxxxx>
- Date: Sat, 4 Apr 2020 12:35:11 +0200
- Autocrypt: addr=oss@xxxxxxxxxxx; prefer-encrypt=mutual; keydata= xsDiBFLSvucRBACGsasS4GeIWs1CFNTOYmp3ScQ2ZTJLJWQxhPliwtHTzLsErYu9Y7e8qDov iHFviYyaNuceUNoACm1e4MT4eu0DmM2Wk3y/jjD6hfm7L0EZNPxQhj+CJf2oZAm2ezCe7/si xZ2d7TCO8yWavOGbF0EVi/ZDIJqVgupu6WBpv/NCewCg65HQiS1wm+1w1MdFYxKCmXzbv08D /iWXX3tzabbCrLlUum8hBgBpJEHRtlic2uaGsKm8Fize4tfLZkTBbTYLYXfcx2Oq9+lINPTW h9jnbCjAjErRWLTjNTQjel0JnDryCnqabub/R3wScR/EHRDBeS9L6YRj0xdVd2qIaArtSYRR auKPNc4M2qZNEFSM37cXC7avhpdeA/99oJf4qyVly4RxHmekAmj9UJjRx17x9xX8t9uzUuSt AeTh+kQ3o5jK7veU6/F/+pPyi96EOzym9BJA8pgXC8hLWNjOajI10filkdQ26QsfHOpUdPSZ 4Duyw9Ayj8loagEnnAONmU/xE0QlyVBANIut0W+SNqPScYXfnBbVOaG3Hc0mTWljaGFlbCBC ZWhyaXNjaCA8bWljaGFlbEBiZWhyaXNjaC5kZT7CZgQTEQIAJgIbIwcLCQgHAwIBBhUIAgkK CwQWAgMBAh4BAheABQJS0sKXAhkBAAoJEDwQ/pbRcKYp+SEAoMJSvUzfk3u6EA1nMlMVSk85 nHhoAJ0VE5xLi2ni8j9wdx+uga7XGLtjhs7ATQRS0r7nEAQAkQLdzlu3i/Ddziadm2c/60ZX bcY3FYhHHfsKUHC/QING+lu3uHG0nPaElPTAHTr8UdFMbmpXkRs9+1v1RAvHBWW95BbUXZeu oBsoCm+4Jdktu+PeVxGKhOwQRdR30A4y/bIeRn7iMzkZKoQh0lE3ZEbs0T8TUHBGBUqwEhIv Y0MAAwUD/RXrkwtUiR61/bT96eMaxGtO15AqvlM8DYQ3Xs6EH09QlGzr/i0+usi01wGoh13p YGjzEDtTqO+lNs9AtS7nZAHA3cCWzLmdEXw6EY7IH4X7zOpKoj+JtLNjUd2Nzvhyl48LT217 g8GmCACL6Wo/G+fZ+30Mny+gWbDtEGXNIv7fwkkEGBECAAkFAlLSvucCGwwACgkQPBD+ltFw pimNZQCgnN5oibnjl7r2SVle6hgUMcckfN4AoMYRjy/Tqz9tq8TSUqNcOTjlMR7D
- Delivered-to: sumo-dev@xxxxxxxxxxx
- List-archive: <https://www.eclipse.org/mailman/private/sumo-dev>
- List-help: <mailto:sumo-dev-request@eclipse.org?subject=help>
- List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-dev>, <mailto:sumo-dev-request@eclipse.org?subject=subscribe>
- List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-dev>, <mailto:sumo-dev-request@eclipse.org?subject=unsubscribe>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0
Please post the complete error message and it would be also helpful if
you can put your code online (maybe in a fork of the sumo repo at github).
Best regards,
Michael
Am 31.03.20 um 00:30 schrieb Raheleh Zarei:
> Thanks, my routing algorithm, has two other header files and their .cpp
> files in addition to the main file that includes the routing algorithm
> that inherits from SUMOAbstractRouter.
> I added those 4 other files (headers and .cpp s) to the Cmakelist.txt in
> src/utils/router and included them in the routing algorithm file, but I
> get a linkage error. LNK2019. It seems the compiler doesn't see the .cpp
> files where the definition of the functions is, and I get this linkage
> error when I call a function of those header files in my main routing
> algorithm file. Do I need to add my files to any other place in SUMO to
> make them known to the compiler? I would be grateful if you let me know
> if you have any idea about this.
>
> Best,
> Raheleh
>
>
>
> On Thu, Mar 5, 2020 at 3:07 AM Jakob Erdmann <namdre.sumo@xxxxxxxxx
> <mailto:namdre.sumo@xxxxxxxxx>> wrote:
>
> - add a class to src/utils/router that Inherits from
> utils/router/SUMOAbstractRouter
> - add your router to the selection code in
> src/microsim/devices/MSRoutingEngine::initRouter and optionally
> src/duarouter/duarouter_main::computeRoutes
>
>
> Am Mi., 4. März 2020 um 22:42 Uhr schrieb Raheleh Zarei
> <raheleh.zarei@xxxxxxxxx <mailto:raheleh.zarei@xxxxxxxxx>>:
>
> Hi
>
> May I know the procedure of adding a new routing algorithm. I
> would like to add a new routing algorithm like CH but with three
> phases.
>
> Thanks,
> Raheleh
>
> --
> *RAZ*
>
>
> --
> *RAZ*
> _______________________________________________
> sumo-dev mailing list
> sumo-dev@xxxxxxxxxxx <mailto:sumo-dev@xxxxxxxxxxx>
> To change your delivery options, retrieve your password, or
> unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-dev
>
> _______________________________________________
> sumo-dev mailing list
> sumo-dev@xxxxxxxxxxx <mailto:sumo-dev@xxxxxxxxxxx>
> To change your delivery options, retrieve your password, or
> unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-dev
>
>
>
> --
> *RAZ*
>
> _______________________________________________
> sumo-dev mailing list
> sumo-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-dev
>
Attachment:
signature.asc
Description: OpenPGP digital signature