2013-02-28 85 views
2

我們有8名玩家。爲雙人遊戲生成時間表

在一張桌子上玩4人(兩對)。

enter image description here

所以每個球員都需要與其他7名球員進行配對,並有玩家作爲對手相同的計數。

在剛剛從列表中刪除創建表的情況下,我們有:

Tour 1: (1,2) - (3,4) | (5,6) - (7,8) 
Tour 2: (1,3) - (2,5) | (4,7) - (6,8) 
..................................... 
..................................... 
Tour 7: (1,8) - (2,7) | (3,6) - (4,5) 

但有些納稅人也會有一些對手往往比其他人。

在這個方向,我需要思考?

**** UPDATE **** 在Jens Schauders解決方案的情況下,我們將有7輪。如果CHACK對手的球員2,我們將有3次對手4,只是一個時間的對手7.

如果拆分對在此架構

 TABLE 1 | TABLE 2 

Pair1: 1 2 | 3 4 
     ------------------ 
Pair2: 5 6 | 7 8 

哪裏錯了嗎?

回答

3

我覺得這是一個簡單的可視化算法您正在尋找:

想象一下,一個長桌上與對手坐在彼此的對面:

1 2 3 4 
---------------- 
5 6 7 8 

現在,每輪新一輪,每個人都移動到他左邊的地方。可能在桌子的另一邊,有一個例外:玩家一坐下。所以,下一輪應該是這樣

1 5 2 3  
---------------- 
6 7 8 4 

如果現在兩個部分,你爲你的小表適合配對拆分長桌。

關於更新的問題

實現更均勻分佈的對手一個可以嘗試以不同的方式拆分大表,例如,從第一和第四列構建一張小桌子,然後從第2列第二小桌+3

+0

它只是完美 – Narek 2013-02-28 11:24:15

+0

有一點問題。你能否提出問題更新? – Narek 2013-02-28 11:59:17

+0

看到我的更新... – 2013-02-28 12:08:23

1

你可以在4個團隊之間有6個獨特的遊戲。有7種可能的配對,因此有42種獨特的遊戲。

每個玩家只與其他玩家配對一次,並準確地與其中的每一個玩家對戰6次。

列表:

Pairs 01: (1,2),(3,4),(5,6),(7,8) 
PairRound 1: 
GameRound 01: (1,2) - (3,4) | (5,6) - (7,8) 
GameRound 02: (1,2) - (7,8) | (3,4) - (5,6) 
GameRound 03: (1,2) - (5,6) | (3,4) - (7,8) 

Pairs 02: (1,3),(2,4),(5,7),(6,8) 
PairRound 2: 
GameRound 04: (1,3) - (2,4) | (5,7) - (6,8) 
GameRound 05: (1,3) - (6,8) | (2,4) - (5,7) 
GameRound 06: (1,3) - (5,7) | (2,4) - (6,8) 

Pairs 03: (1,4),(2,3),(5,8),(6,7) 
PairRound 3: 
GameRound 07: (1,4) - (2,3) | (6,7) - (5,8) 
GameRound 08: (1,4) - (5,8) | (2,3) - (6,7) 
GameRound 09: (1,4) - (6,7) | (2,3) - (5,8) 

Pairs 04: (1,5),(2,6),(3,7),(4,8) 
PairRound 4: 
GameRound 10: (1,5) - (2,6) | (3,7) - (4,8) 
GameRound 11: (1,5) - (4,8) | (2,6) - (3,7) 
GameRound 12: (1,5) - (3,7) | (2,6) - (4,8) 

Pairs 05: (1,6),(2,5),(3,8),(4,7) 
PairRound 5: 
GameRound 13: (1,6) - (2,5) | (3,8) - (4,7) 
GameRound 14: (1,6) - (4,7) | (2,5) - (3,8) 
GameRound 15: (1,6) - (3,8) | (2,5) - (4,7) 

Pairs 06: (1,7),(2,8),(3,5),(4,6) 
PairRound 6: 
GameRound 16: (1,7) - (2,8) | (3,5) - (4,6) 
GameRound 17: (1,7) - (4,6) | (2,8) - (3,5) 
GameRound 18: (1,7) - (3,5) | (2,8) - (4,6) 

Pairs 07: (1,8),(2,7),(3,6),(4,5) 
PairRound 8: 
GameRound 19: (1,8) - (2,7) | (3,6) - (4,5) 
GameRound 20: (1,8) - (4,5) | (2,7) - (3,6) 
GameRound 21: (1,8) - (3,6) | (2,7) - (4,5) 
0

下面是兩個時間表。第一個時間表是一個2輪循環賽固定夥伴時間表。這是一個平衡的2輪循環賽「配對」時間表。或者,另一種說法是我們正在安排'雙'的'雙'。我想這是你在找什麼?

第二個賽程是8名選手(每名選手都是一支球隊)的「平衡」2輪單人賽時間表。

注意:在兩個時間表上,所有玩家/團隊輪換所有表格。沒有球員/球隊固定在一個位置這是不可取的大多數聯賽,因爲它會造成不平衡的時間分配。在這個線程上發佈的另外兩個答案在一個時間段內鎖定在一個團隊中,然後通過該時間段旋轉其他7個團隊。

下面的PAIRS-4時間表是固定夥伴時間表。我們還有一個8人球員輪換合作伙伴時間表。在每輪比賽中,所有球員都與其他7名球員中的每一名球員合作一次,並與所有其他球員一起對抗兩次。

PAIRS-4 SCHEDULE      Date 8/4/14    
-  
DATE DAY TIME LOCATION  GM# HOME v AWAY 
Week 1   
AUG 4 MON 6:00pm Table-1  1 #1 & #2 v #7 & #8 
AUG 4 MON 6:00pm Table-2  1 #3 & #4 v #5 & #6 
Week 2 
AUG 11 MON 6:00pm Table-1  2 #7 & #8 v #3 & #4 
AUG 11 MON 6:00pm Table-2  2 #5 & #6 v #1 & #2 
Week 3  
AUG 18 MON 6:00pm Table-1  3 #1 & #2 v #3 & #4 
AUG 18 MON 6:00pm Table-2  3 #5 & #6 v #7 & #8 
Week 4 
AUG 25 MON 6:00pm Table-1  4 #5 & #6 v #3 & #4 
AUG 25 MON 6:00pm Table-2  4 #7 & #8 v #1 & #2 
Week 5   
SEP 1 MON 6:00pm Table-1  5 #1 & #2 v #5 & #6 
SEP 1 MON 6:00pm Table-2  5 #3 & #4 v #7 & #8 
Week 6  
SEP 8 MON 6:00pm Table-1  6 #7 & #8 v #5 & #6 
SEP 8 MON 6:00pm Table-2  6 #3 & #4 v #1 & #2 
-  
======================================================== 
- 
SINGLES-8 SCHEDULE    Date 8/5/14 
- 
DATE DAY TIME LOCATION GM# HOME v AWAY 
Week 1 
AUG 5 TUE 6:00pm Table-1  1 #1 v #8 
AUG 5 TUE 6:00pm Table-2  1 #2 v #7 
AUG 5 TUE 6:00pm Table-3  1 #3 v #6 
AUG 5 TUE 6:00pm Table-4  1 #4 v #5 
Week 2  
AUG 12 TUE 6:00pm Table-1  2 #5 v #2 
AUG 12 TUE 6:00pm Table-2  2 #8 v #6 
AUG 12 TUE 6:00pm Table-3  2 #7 v #1 
AUG 12 TUE 6:00pm Table-4  2 #3 v #4 
Week 3 
AUG 19 TUE 6:00pm Table-1  3 #2 v #3 
AUG 19 TUE 6:00pm Table-2  3 #5 v #7 
AUG 19 TUE 6:00pm Table-3  3 #4 v #8 
AUG 19 TUE 6:00pm Table-4  3 #6 v #1 
Week 4 
AUG 26 TUE 6:00pm Table-1  4 #6 v #4 
AUG 26 TUE 6:00pm Table-2  4 #1 v #5 
AUG 26 TUE 6:00pm Table-3  4 #7 v #3 
AUG 26 TUE 6:00pm Table-4  4 #8 v #2 
Week 5 
SEP 2 TUE 6:00pm Table-1  5 #3 v #5 
SEP 2 TUE 6:00pm Table-2  5 #4 v #1 
SEP 2 TUE 6:00pm Table-3  5 #2 v #6 
SEP 2 TUE 6:00pm Table-4  5 #7 v #8 
Week 6 
SEP 9 TUE 6:00pm Table-1  6 #6 v #7 
SEP 9 TUE 6:00pm Table-2  6 #4 v #2 
SEP 9 TUE 6:00pm Table-3  6 #5 v #8 
SEP 9 TUE 6:00pm Table-4  6 #1 v #3 
Week 7 
SEP 16 TUE 6:00pm Table-1  7 #7 v #4 
SEP 16 TUE 6:00pm Table-2  7 #8 v #3 
SEP 16 TUE 6:00pm Table-3  7 #2 v #1 
SEP 16 TUE 6:00pm Table-4  7 #5 v #6 
Week 8 
SEP 23 TUE 6:00pm Table-1  8 #7 v #2 
SEP 23 TUE 6:00pm Table-2  8 #6 v #3 
SEP 23 TUE 6:00pm Table-3  8 #5 v #4 
SEP 23 TUE 6:00pm Table-4  8 #8 v #1 
Week 9 
SEP 30 TUE 6:00pm Table-1  9 #6 v #8 
SEP 30 TUE 6:00pm Table-2  9 #1 v #7 
SEP 30 TUE 6:00pm Table-3  9 #4 v #3 
SEP 30 TUE 6:00pm Table-4  9 #2 v #5 
Week 10 
OCT 7 TUE 6:00pm Table-1 10 #7 v #5 
OCT 7 TUE 6:00pm Table-2 10 #8 v #4 
OCT 7 TUE 6:00pm Table-3 10 #1 v #6 
OCT 7 TUE 6:00pm Table-4 10 #3 v #2 
Week 11 
OCT 14 TUE 6:00pm Table-1 11 #5 v #1 
OCT 14 TUE 6:00pm Table-2 11 #3 v #7 
OCT 14 TUE 6:00pm Table-3 11 #2 v #8 
OCT 14 TUE 6:00pm Table-4 11 #4 v #6 
Week 12 
OCT 21 TUE 6:00pm Table-1 12 #1 v #4 
OCT 21 TUE 6:00pm Table-2 12 #6 v #2 
OCT 21 TUE 6:00pm Table-3 12 #8 v #7 
OCT 21 TUE 6:00pm Table-4 12 #5 v #3 
Week 13 
OCT 28 TUE 6:00pm Table-1 13 #2 v #4 
OCT 28 TUE 6:00pm Table-2 13 #8 v #5 
OCT 28 TUE 6:00pm Table-3 13 #3 v #1 
OCT 28 TUE 6:00pm Table-4 13 #7 v #6 
Week 14 
NOV 4 TUE 6:00pm Table-1 14 #3 v #8 
NOV 4 TUE 6:00pm Table-2 14 #1 v #2 
NOV 4 TUE 6:00pm Table-3 14 #6 v #5 
NOV 4 TUE 6:00pm Table-4 14 #4 v #7 
-    
-     # # # # #  
- 

您可以複製粘貼&時間表上方到字處理軟件,並使用 搜索&替換真實姓名替換球員號碼。您也可以編輯 時間表,即更改日期&倍,添加註釋,圖形,接觸每個玩家 信息等

+1

無需在帖子中添加簽名,因爲它會自動附加到帖子的底部。 – ChrisF 2014-08-09 14:05:15