Multi-Agent Reinforcement Learning: Analysis and Application