Approximate changing distributions with particle filters, sequential importance sampling, resampling, and particle-based smoothing.