Projective simulation applied to the grid-world and the mountain-car problem | Read Paper on Bytez