Adaptive parallel tempering algorithm based on Miasojedow’s 2013 and 2016 papers.
Note: previously available on github under the name nimble-snippets.