Integrating planning and learning: the PRODIGY architecture | Synapse