Currently a birds that decide to forage perform a sort of gradient ascent. At the moment birds will tend to move in the (-1,-1) direction, when performing this ascent. This is an artifact of the particular algorithm used.
Implement a gradient ascent method that stores all the maximums it sees and chooses a return value randomly among them.
Currently a birds that decide to forage perform a sort of gradient ascent. At the moment birds will tend to move in the (-1,-1) direction, when performing this ascent. This is an artifact of the particular algorithm used.
Implement a gradient ascent method that stores all the maximums it sees and chooses a return value randomly among them.