Esempio n. 1
0
 public ChanceAbstractedGameDefParams(EqLp_Test test, string name, string gameDefFile, IChanceAbstraction[] abstractions,
                                      double[] expectedResult, double epsilon) :
     base(test, gameDefFile, expectedResult, epsilon)
 {
     ChanceTree = CreateChanceTreeByAbstraction.CreateS(GameDef, abstractions);
     Name       = name;
 }
Esempio n. 2
0
            public GameDefParams(EqLp_Test test, string gameDefFile, double[] expectedResult, double epsilon)
            {
                Epsilon        = epsilon;
                ExpectedResult = expectedResult;

                GameDef = XmlSerializerExt.Deserialize <GameDefinition>(
                    Props.Global.Expand("${bds.DataDir}ai.pkr.metastrategy/${0}",
                                        gameDefFile));

                Name = GameDef.Name;

                ChanceTree = CreateChanceTreeByGameDef.Create(GameDef);
                ActionTree = CreateActionTreeByGameDef.Create(GameDef);
            }