Offline Planning and Online Learning Under Recovering Rewards | Synapse