sorry i'm just a little confused as to the above here, :| from what i understand
- we have two maps
- if units can't get to resource any other way then they will use the congested ones
- units will use a different map to get away from the resources
- by marking to a certain distance do you mean to say we shall reduce the gradient value?
though I highly doubt I understood you correctly so please excuse me,
i believe this opinion was voiced as well in our discussions
basically what we were saying in the discussion is that
(note: a wavefront is the gradient path)
- since there are two wavefronts (one to wheat, and one to inn once resources are gathered)
- congestion of workers in the "to wheat wavefront" shall lower the path value in the "to inn wavefront",
- that way workers shall not go through the congested parts as they will have a lower path value
There are two main issues we found with this approach,
the first being the definition of congestion, as in how will we identify where globules are congested?
while theoretically globules are going one way, and other globules are
going another way, when they are actually congested, due to collision
algorithms that tell them to try to by pass to the right or left they
aren't really facing any particular way and just spin around.
though this is theoretically fixable say if we get the globules to go
in one direction "as in to inn" and only turn if there is indeed space
for them to move into another direction
the second issue is that even with markers in place, unless they are
0's in which case the wavefront shall simply bypass the 0's the
globules won't see points lowererd marker places until they hit them,
at which point they will get rather confused as they are looking for a
path that is one less then their current position and they just really
wouldn't go anywhere. unless it is on the lower marked path
if they are 0's i guess there wouldn't be much of a problem except that
you would need to have them fade with time as occasionally your routes
do change as primary resources change locations. with this comes the
problem that after a while recongestion occurs as the congestion
markers have to be re established