Swarm Intelligence Algorithms for Resource Allocation in Renewable-Powered Smart City Infrastructures | Synapse