Skip to content

Fix foraging behavior. #2

@briprowe

Description

@briprowe

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions