1 |
As I understand things the code is here:
|
1 |
As I understand things the code is here:
|
2 |
\n
|
2 |
\n
|
3 |
https://github.com/ZeroK-RTS/Zero-K-Infrastructure/blob/master/ZkLobbyServer/SpringieInterface/Balancer.cs
|
3 |
https://github.com/ZeroK-RTS/Zero-K-Infrastructure/blob/master/ZkLobbyServer/SpringieInterface/Balancer.cs
|
4 |
\n
|
4 |
\n
|
5 |
https://github.com/ZeroK-RTS/Zero-K-Infrastructure/blob/master/ZkLobbyServer/SpringieInterface/PartitionBalance.cs
|
5 |
https://github.com/ZeroK-RTS/Zero-K-Infrastructure/blob/master/ZkLobbyServer/SpringieInterface/PartitionBalance.cs
|
6 |
\n
|
6 |
\n
|
7 |
This around line 95 of the second link suggests that a dummy player is added:
|
7 |
This around line 95 of the second link suggests that a dummy player is added:
|
8 |
\n
|
8 |
\n
|
9 |
{{{if (players.Count % 2 != 0)
|
9 |
{{{if (players.Count % 2 != 0)
|
10 |
{
|
10 |
{
|
11 |
//Pad teams to an even number
|
11 |
//Pad teams to an even number
|
12 |
players.Add(new PlayerItem(-1, players.Average(x => x.Elo), null, null));
|
12 |
players.Add(new PlayerItem(-1, players.Average(x => x.Elo), null, null));
|
13 |
}
|
13 |
}
|
14 |
[/quote]}}}
|
14 |
[/quote]}}}
|
15 |
\n
|
15 |
\n
|
16 |
I'm
not
sure
if
anybody
besides
@DeinFreund
is
familiar
enough
with
how
it
currently
works
to
write
a
wiki
page
without
substantial
effort.
|
16 |
I'm
not
sure
if
anybody
besides
@DeinFreund
is
familiar
enough
with
how
it
currently
works
to
write
a
wiki
page
without
substantial
effort.
The
code
comments
suggest
that
it
is
based
on
http://web.
cecs.
pdx.
edu/~bart/cs510ai/papers/korf-ckk.
pdf
Section
2.
2.
|