Switching Attention in Time-Varying Environments via Bayesian Inference of Abstractions