I've attached a screenshot of my application's datagrid, taken after the round-participant arrangement ran.
The result is based on the following/your logic
Code:
foreach participant p1
{
for each round
{
foreach participant p2 != p1
{
if(
p2 not in current round
p1 not in current round
p2 and p1 have not paired yet)
then -> make unique pair and assign it to current round.
}
}
}
As you can see, I still end up with the situation that certain participants have to wait a round or two.
(round 6 and 7 are not in the grid because of the round limitation I've set in the code.)
Thanks alot for sharing your thoughts on this.
Very much appreciated!!
P.S. Deelnemer = Participant, RondeX = RoundX
Last edited by Julmasara; October 8th, 2008 at 07:19 AM.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.