Archistar/archistar-smc — pull request #16 by gye-tgm (2014-08-18 10:24:49+00:00)
Title: Formatted and using queue

Ok, I used Eclipse to format the code. Should be fine now.

Besides, I speeded up the algorithm by using a queue. This queue prevents us from doing redundant work since we are iterating the list over and over again to find a share with less than k accepts. We just store into the queue the "bad" participants preventing, as mentioned, the redundant iterating.