Last active
March 24, 2020 13:10
-
-
Save ayende/d275ca9a2ad6c6f16c3643c491e6ec14 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var parliment = new Dictionary<string, (int Seats, int Index)> | |
{ | |
["Likud"] = (36, 0), | |
["KahulLaval"] = (33, 1), | |
["JointList"] = (15, 2), | |
["Shas"] = (9, 3), | |
["YahadutHatora"] = (7, 4), | |
["IsrealBeitenu"] = (7, 5), | |
["AvodaGesherMeretz"] = (7, 6), | |
["Yemina"] = (6,7) | |
}; | |
var likes = new [,] | |
{ | |
// likud, kahul, joint, shas, yahdut, beitenu, avoda, yemina | |
{ 1.0, -0.5, -1.0, 0.95, 0.95, -0.2, -0.8, 0.95}, // likud | |
{ -0.9, 1.0, -0.6, -0.5, -0.5, 0.5, 0.8, -0.2}, // kahul | |
{ -0.9, -0.3, 1.0, -0.6, -0.6, -1.0, -0.2, -1.0}, // joint | |
{ 0.96, -0.7, -0.6, 1.0, 0.9, -1.0, -0.7, 0.8}, // shas | |
{ 0.97, -0.6, -0.6, 0.92, 1.0, -1.0, -0.6, 0.7}, // yahadut | |
{ -0.4, -0.1, -1.0, -0.99, -0.99, 1.0, -0.6, 0.1}, // beitenu | |
{ -0.95, 0.98, 0.3, -0.89, -0.89, -0.01, 1.0, -0.75}, // avoda | |
{ 0.999, -0.92, -1.0, 0.86, 0.85, -0.3, -0.4, 1.0}, // yemina | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment