Planning and reacting in uncertain and dynamic environments | Synapse