agentcontest / massim_2018

Simulation platform for the Multi-Agent Programming Contest 2016 - 2018
https://multiagentcontest.org/
GNU Affero General Public License v3.0
20 stars 24 forks source link

Cost of goto? #13

Open ssardina opened 5 years ago

ssardina commented 5 years ago

Documentation states that a goto action " Consumes 10 charge units if successful. ":

https://github.com/agentcontest/massim/blob/massim-2018-1.2/docs/scenario.md#goto

However, the server configuration has an option gotoCost to set the cost, and all the example config files under conf have that option set to 1, not to 10.

If it is a config option in the server, it suggest the intention was to make this variable. However, there is no percept that will give the cost.

Am I missing something? Is the documentation wrong and should say 1? Or are the config files wrong and should all say 10?

rafaelcaue commented 5 years ago

Hi Sebastian,

I am not one of the developers, but as I participated in the last two contests I think I can answer this one.

In 2017 the gotoCost was 10, and in 2018 it was changed to 1 (battery of each vehicle was also changed accordingly). They just forgot to update that value in the documentation.

Cheers, Rafael

ssardina commented 5 years ago

Thanks Rafael.

OK so the documentation may not have been updated. Good.

Now, that property is configurable in the server side, but there is no percept for it. Should there be a percept that tells the agent how much a goto cost? I think so right?

rafaelcaue commented 5 years ago

I don't think it was ever supposed to change mid-contest. I believe that parameter was there more for testing purposes.

But I agree, it would have made sense to have a percept for it. I remember me and my team had it hardcoded in our battery calculations, which caused some problems when switching from 2017 to 2018 😆