« Previous | Next » 

Revision f25e5aac

IDf25e5aacbbbb661d69612cdf4b1dbde4a9c2235f
Parent c0501c69
Child 1ae7a904

Added by Iustin Pop over 14 years ago

Split the balancing algorithm in two parts

Currently the computation, recursing part and the IO part (progress
updates) of the balancing main function (iterateDepth) are all in the
same function, which makes it hard to test. This patch moves the
decision/computation part (whether to proceed one more round, whether we
got a good result, etc.) into Cluster.hs, and leaves only the iteration
and screen update in hbal.hs.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences