Reinforcement learning with algorithms from probabilistic structure estimation. (October 2022)