Design and Modelling of Decentralised Task Allocation Mechanisms in Groups of Mobile Agents