A special proposal generator which interchanges two neighboring individuals from a population. Assumes that the state is a matrix, and that individuals are stored in rows. Useful for parallel tempering, etc.
current population state.
new state with two neighbors interchanged.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.