SMARTree Paclet SymbolMore About »

swapSMARTchain

swapSMARTchain[mcstate[[i]], nbp, isadp, adprate, adpheat, size]
updates mcstate[[i]] states for group i by swapping the temperatures of two random chosen chains within the group in a number of size times. If isadp=True, the difference of inverse temperatures in group i is adpated according the accept ratio of swapping. Returns updated mcstate[[i]] and adpheat.