Design of Adaptive Collective Foraging in Swarm Robotic Systems