Herded Gibbs and discretized herded Gibbs sampling