diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-10-14 12:23:16 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-10-14 12:23:16 +0200 |
commit | 682b47a0680ea839ed3537fce57e452fe6004c1c (patch) | |
tree | a92d2cfa83c85aff9efda12f51c485fd72baa257 | |
parent | d6cf288058458ea498a8d01a658340531cee5d14 (diff) | |
download | server-682b47a0680ea839ed3537fce57e452fe6004c1c.tar.gz |
Add some more social golfer solutions with missed pairs.
-rw-r--r-- | designs.js | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -198,6 +198,7 @@ designs.resolvable_bibd = function (v, k) { case 3: switch (v) { case 9: return designs.resolvable_bibd_9_3_1 + case 12: return designs.social_golfer_12_3_1 case 15: return designs.resolvable_bibd_15_3_1 case 21: return designs.resolvable_bibd_21_3_1 case 27: return designs.resolvable_bibd_27_3_1 @@ -209,6 +210,7 @@ designs.resolvable_bibd = function (v, k) { break case 4: switch (v) { + case 8: return designs.social_golfer_8_4_2 case 16: return designs.resolvable_bibd_16_4_1 case 28: return designs.resolvable_bibd_28_4_1 case 40: return designs.resolvable_bibd_40_4_1 @@ -709,6 +711,22 @@ designs.youden_square_15_7_3 = [ // Other designs. +// sit 1x - meet 1x - missed pairings +designs.social_golfer_12_3_1 = [ + [[2,0,1],[5,4,3],[6,8,7],[11,9,10]], + [[3,6,0],[9,1,4],[7,10,2],[8,11,5]], + [[0,7,9],[1,3,11],[4,2,8],[10,5,6]], + [[0,8,10],[1,5,7],[2,3,9],[4,6,11]] +] + +// sit 1x - meet 2x - missed pairings +designs.social_golfer_8_4_2 = [ + [[1,2,3,4],[5,6,7,0]], + [[0,1,2,7],[4,5,6,3]], + [[7,4,1,6],[3,0,5,2]], + [[6,3,0,1],[2,7,4,5]], +] + // sit 2x - meet 1x designs.bibd_13_3_1 = [ [0,1,6], |