[Freeciv-Dev] Re: (PR#12840) delay in pollution patrol (possible causes)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12840 >
Brian Dunstan wrote:
> In any case, I think this is happening because, when
> worker assignments are being given, it iterates
> through the workers, and the first worker that finds
> that cleanup job to be its best use of time, reserves
> the square. This is done by setting a bit in
> ptile->assigned.
Indeed.
This is just an example of a general problem that assignments are done
by worker not by tile. In the client this leads to a problem because
workers tend to move a long long way to do their work - leading to
unnecessarily long animations. And overall it's not very efficient.
I suspect there's an algorithm that will solve this problem optimally.
But I don't know what it is just yet.
-jason
- [Freeciv-Dev] Re: (PR#12840) delay in pollution patrol (possible causes),
Jason Short <=
- [Freeciv-Dev] Re: (PR#12840) delay in pollution patrol (possible causes), Brian Dunstan, 2005/04/19
- [Freeciv-Dev] Re: (PR#12840) delay in pollution patrol (possible causes), Brian Dunstan, 2005/04/26
- [Freeciv-Dev] Re: (PR#12840) delay in pollution patrol (possible causes), Brian Dunstan, 2005/04/26
- [Freeciv-Dev] (PR#12840) delay in pollution patrol (possible causes), Jason Short, 2005/04/27
- [Freeciv-Dev] Re: (PR#12840) delay in pollution patrol (possible causes), Brian Dunstan, 2005/04/27
- [Freeciv-Dev] (PR#12840) delay in pollution patrol (possible causes), Jason Short, 2005/04/27
- [Freeciv-Dev] Re: (PR#12840) delay in pollution patrol (possible causes), Brian Dunstan, 2005/04/27
- [Freeciv-Dev] Re: (PR#12840) delay in pollution patrol (possible causes), Brian Dunstan, 2005/04/28
- [Freeciv-Dev] (PR#12840) delay in pollution patrol (possible causes), Jason Short, 2005/04/29
- [Freeciv-Dev] Re: (PR#12840) delay in pollution patrol (possible causes), Brian Dunstan, 2005/04/29
|
|