Dynamic Interaction Between Reinforcement Learning And Attention In Multidimensional Environments