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; }
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); }