Ant foraging simulation
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Ant foraging simulation coded in JavaScript. The ants have been implemented following a state machine, where they first perform a random walk and then they fetch food indefinitely. The foraging behaviour is cast as a biologically-inspired search algorithm for an optimisation procedure, considering that the objective is a cost function to be minimised.

A demo is available here.


Copyright (c) 2013 Alexandre Trilla

Distributed under the MIT/X11 License.