Adaptive Modelling and Planning