OFFIS-DAI / mango

Modular Python-based agent framework to implement multi-agent systems
https://mango-agents.readthedocs.io/
MIT License
12 stars 2 forks source link

split distribute_time into two methods for better time handling #93

Closed maurerle closed 2 months ago

maurerle commented 2 months ago

This makes it easier to handle distributed clocks.

Before, we had to distribute the time twice to ensure, that to round trips took place (send, wait, ask for time). This is now clearer in the code by splitting the time distribution and the waiting task into two separate messages of the distributed clock manager. See also this comment: https://github.com/OFFIS-DAI/mango/pull/82#issuecomment-2276253330

maurerle commented 2 months ago

Thanks for your review, do you have time to look again? :)