Bio-inspired algorithms to produce collaborative behaviors for robot teams