1

I'm using Veins 4.6, SUMO 0.30.0 and OMNET++ 5.1.1 for performance analysis of multiple routing algorithms. To complete my analysis beside four routing algorithms available in SUMO, I need to add a new one An efficient routing algorithm based on ant colony optimisation for VANETs which should be used to find best path (if value is passed in --routing-algorithm parameter or mentioned in *.sumocfg file). For example:

<routing>
    <routing-algorithm value="aco"/>
    <device.rerouting.probability value="1"/>       
</routing>

No guide is available even in How Tos section of SUMO developers guide to add new routing protocol. Any direction from where to start?

Ahmad Ahsan
  • 187
  • 3
  • 18
  • 1
    Is it possible that the algorithm in the cited paper is more about routing in a communication network and not vehicle routing? – Michael Dec 11 '18 at 08:09
  • The algorithm is Meta Heuristic in nature, so can be used for vehicle routing as well. – Ahmad Ahsan Dec 13 '18 at 08:23

1 Answers1

3

The best idea is probably to make a copy of src/utils/vehicle/DijkstraRouter.h and modify essentially the compute method there.

Michael
  • 3,510
  • 1
  • 11
  • 23