PhysicsOfMobility / ridepy

Simulates a dispatching algorithm serving exogenous transportation requests with a fleet of vehicles. Does not simulate the universe, unlike MATSim. Batteries are included.
https://ridepy.org
MIT License
6 stars 0 forks source link

Discuss cost functions #168

Open fxjung opened 3 years ago

fxjung commented 3 years ago

How should cost functions be implemented/specified and which dispatchers/cost functions should go into the main repository?

Deb:

Thanks. After reading your replies, I would like to start a discussion on the merits of the distance minimization + user-selected external cost pattern. Especially:

  • What is the use case?
  • Will that use case + potentially other use cases be more effectively taken care of by a different design, e.g. a modular notion of cost. Users should be able to implement dispatchers of their own liking externally as well, not everything should go into ridepy, as far as I understand. Maybe the zero detour stuff should also be refactored this way...
fxjung commented 3 years ago

Cost functions may have distinct "goals". Suitable candidates might