Bio-Inspired Collective Decision Making in Multiagent System: From Low- to High-Cognition Algorithms