A Survey on Learning for Agents ( "Foundations and Applications of Agents")