Agents in the cartographer role should identify their partner to finish the cartography phase and compute the size of the grid.
Solution: if the other agent is identified in the direction of movement, it means that the grid (in this direction) has been covered by both agents.
Example: A1 moves north and A2 moves south. If A1 "sees" A2 in the north, then A1 knows that they covered the whole grid height. (similarly for A2)
Assumption: the agents initially agree that they move away from each other. Example: if A1 was north of A2 during the identification and start of cartography role, then A1 will move north and A2 will move south to determine grid size.
Agents in the cartographer role should identify their partner to finish the cartography phase and compute the size of the grid.
Solution: if the other agent is identified in the direction of movement, it means that the grid (in this direction) has been covered by both agents.
Example: A1 moves north and A2 moves south. If A1 "sees" A2 in the north, then A1 knows that they covered the whole grid height. (similarly for A2)
Assumption: the agents initially agree that they move away from each other. Example: if A1 was north of A2 during the identification and start of cartography role, then A1 will move north and A2 will move south to determine grid size.