cday41 / paz-search

Automatically exported from code.google.com/p/paz-search
0 stars 0 forks source link

animals leave map even with reflective buffer #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Animals are leaving the map (i.e. "animal left map" fate) even though the 
entire map is buffered by an impenetrable buffer (i.e. crossing value = 0). 

We seem to be checking if the predicted step location (i.e. where animal would 
land if full step taking in decided direction without encountering boundary) is 
off the map and if it is the animal is assumed to have left. Instead we should 
check if where it actually goes is off the map to see if it left.

Right now the checking of off map is in mover.cs line 115. Perhaps changing 
'there' to 'here' would fix it but that would need to be checked.

Original issue reported on code.google.com by bpa...@purdue.edu on 21 Sep 2011 at 2:48

GoogleCodeExporter commented 9 years ago

Original comment by ran...@mwwb.net on 23 Nov 2013 at 5:43