Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
im2w1l
· 10y ago · 0 comments
Has anyone analyzed the MCMC version?
while not sorted: swap(a[rand(n)], a[rand(n)])
Comments
[–]
rwmj
10y ago
IIUC that's covered in the paper, as bozo-sort (or bozo-sort+ if the two random numbers are different).
[–]
im2w1l
OP
10y ago
I think it may helpful to decompose the permutation into circles, and create an equation system of time left from different states.