Analysis of Reinforcement Learning Algorithms for Swarm Learning