0 Replies - 1197 Views - Last Post: 06 October 2011 - 12:14 AM

Topic Sponsor:

#1 ssquared361  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 06-October 11

Flash Sort Proof

Posted 06 October 2011 - 12:14 AM

I'm looking for help with a proof of the correctness of flash sort. Is anyone familiar with flash sort? I am trying to determine a useful loop invariant, but I am getting nowhere. I first thought that I could use A[1...j] are in their correct bins, but this is only true after the loop iteration, not before (Beginning with j = 1 and progressing toward length(A)... at the very first iteration, it is not true that A[1...1], or A[1], is in its correct bin, A[j] is the element to be moved.) I really need help with this.

For anyone interested in helping, but unfamiliar with flash sort:
http://drdobbs.com/a...esign/184410496
http://www.neubert.n...es.html#Sprung3

Is This A Good Question/Topic? 0
  • +

Page 1 of 1