public void Test_LeducHe_Ocfr_NoAbstr() { var testParams = new OcfrParams(this, "LeducHe", "leduc-he.gamedef.xml", null, new string[] { "ocfr-FullGame-eq0.txt", "ocfr-FullGame-eq1.txt" }, new double[] { -0.0854067 / 2, 0.0858505 / 2, }, 0.00000005); Solve(testParams, false, null); }
public void Test_LeducHe_CA_Ocfr__JQ_K_pair_nopair__FractionalResult() { var testParams = new OcfrParams(this, "LeducHe-JQK-FR", "leduc-he.gamedef.xml", new IChanceAbstraction[] { new LeducHeChanceAbstraction(LeducHeChanceAbstraction.JQ_K_pair_nopair), new LeducHeChanceAbstraction(LeducHeChanceAbstraction.FractionalResult), }, new string[] { "ocfr-JQ_K_pair_nopair-FractionalResult-eq0.txt", "ocfr-JQ_K_pair_nopair-FractionalResult-eq1.txt" }, new double[] { 0.0375278 / 2, -0.0370542 / 2 }, 0.0000005); Solve(testParams, false, null); }
public void Test_LeducHe_CA_Ocfr_FullGame_FractionalResult() { var testParams = new OcfrParams(this, "LeducHe-FG-FR", "leduc-he.gamedef.xml", new IChanceAbstraction[] { new LeducHeChanceAbstraction(LeducHeChanceAbstraction.FullGame), new LeducHeChanceAbstraction(LeducHeChanceAbstraction.FractionalResult), }, new string[] { "ocfr-FullGame-FractionalResult-eq0.txt", "ocfr-FullGame-FractionalResult-eq1.txt" }, new double[] { 0.215496 / 2, -0.215146 / 2 }, 0.0000005); Solve(testParams, false, null); }
public void Test_LeducHe_CA_Ocfr_JQ_K_pair_nopair() { var testParams = new OcfrParams(this, "LeducHe-JQK", "leduc-he.gamedef.xml", new IChanceAbstraction[] { new LeducHeChanceAbstraction(LeducHeChanceAbstraction.JQ_K_pair_nopair), new LeducHeChanceAbstraction(LeducHeChanceAbstraction.JQ_K_pair_nopair), }, new string[] { "ocfr-JQ_K_pair_nopair-eq0.txt", "ocfr-JQ_K_pair_nopair-eq1.txt" }, new double[] { -0.107228 / 2, 0.107589 / 2 }, 0.0000005); Solve(testParams, false, null); }
public void Test_LeducHe_CA_Ocfr_Fullgame() { var testParams = new OcfrParams(this, "LeducHe-FG", "leduc-he.gamedef.xml", new IChanceAbstraction[] { new LeducHeChanceAbstraction(LeducHeChanceAbstraction.FullGame), new LeducHeChanceAbstraction(LeducHeChanceAbstraction.FullGame), }, new string[] { "ocfr-FullGame-eq0.txt", "ocfr-FullGame-eq1.txt" }, new double[] { -0.0854067 / 2, 0.0858505 / 2 }, 0.00000005); Solve(testParams, false, null); }
public void Test_LeducHe_Ocfr_NoAbstr() { var testParams = new OcfrParams(this, "LeducHe", "leduc-he.gamedef.xml", null, new string[] { "ocfr-FullGame-eq0.txt", "ocfr-FullGame-br1.txt" }, new double[] { -0.0858505 / 2, 0.0858505 / 2 }, 0.000000005); //VisStrategyTree.Show(testParams.StrategyTrees[0], Path.Combine(_outDir, testParams.GameDef.Name+"-str-0.gv")); GameValue gv = Solve(testParams, false, s => { s.PrepareVis = false; }); testParams = new OcfrParams(this, "LeducHe", "leduc-he.gamedef.xml", null, new string[] { "ocfr-FullGame-br0.txt", "ocfr-FullGame-eq1.txt" }, new double[] { -0.0854067 / 2, 0.0854067 / 2 }, 0.00000005); gv = Solve(testParams, false, s => { s.PrepareVis = false; }); }
public void Test_LeducHe_CA_Ocfr_FractionalResult() { var testParams = new OcfrParams(this, "LeducHe-FR", "leduc-he.gamedef.xml", new IChanceAbstraction[] { new LeducHeChanceAbstraction(LeducHeChanceAbstraction.FractionalResult), new LeducHeChanceAbstraction(LeducHeChanceAbstraction.FractionalResult), }, new string[] { "ocfr-FractionalResult-eq0.txt", "ocfr-FractionalResult-br1.txt" }, new double[] { -0.179122 / 2, 0.179122 / 2 }, 0.0000005); GameValue gv = Solve(testParams, false, s => { s.PrepareVis = false; }); testParams = new OcfrParams(this, "LeducHe-FR", "leduc-he.gamedef.xml", new IChanceAbstraction[] { new LeducHeChanceAbstraction(LeducHeChanceAbstraction.FractionalResult), new LeducHeChanceAbstraction(LeducHeChanceAbstraction.FractionalResult), }, new string[] { "ocfr-FractionalResult-br0.txt", "ocfr-FractionalResult-eq1.txt" }, new double[] { -0.17877 / 2, 0.17877 / 2 }, 0.0000005); gv = Solve(testParams, false, s => { s.PrepareVis = false; }); }
public void Test_LeducHe_CA_Ocfr_Trivial() { var testParams = new OcfrParams(this, "LeducHe-FG", "leduc-he.gamedef.xml", new IChanceAbstraction[] { new TrivialChanceAbstraction(), new TrivialChanceAbstraction(), }, new string[] { "ocfr-FullGame-eq0.txt", "ocfr-FullGame-br1.txt" }, new double[] { -0.0858505 / 2, 0.0858505 / 2 }, 0.000000005); GameValue gv = Solve(testParams, false, s => { s.PrepareVis = false; }); testParams = new OcfrParams(this, "LeducHe-FG", "leduc-he.gamedef.xml", new IChanceAbstraction[] { new TrivialChanceAbstraction(), new TrivialChanceAbstraction(), }, new string[] { "ocfr-FullGame-br0.txt", "ocfr-FullGame-eq1.txt" }, new double[] { -0.0854067 / 2, 0.0854067 / 2 }, 0.00000005); gv = Solve(testParams, false, s => { s.PrepareVis = false; }); }