Multi-agent systems General systems and control theory mathematics