public Vis() { CompilerParams.ReferencedAssemblies.Add(CodeBase.Get(Assembly.GetExecutingAssembly())); ShowExpr.Clear(); ShowExpr.Add(new ExprFormatter("s[d].Node.ToGvString();{1}")); }
public VisActionTree() { ShowExpr.Clear(); ShowExpr.Add(new ExprFormatter("s[d].Id", "id:{1}")); ShowExpr.Add(new ExprFormatter("s[d].State.Pot", "\\np:{1}")); ShowExpr.Add(new ExprFormatter("s[d].ActivePlayers", "\\nap:{1:X}")); }
public VisChanceTree() { ShowExpr.Clear(); ShowExpr.Add(new ExprFormatter("s[d].Id", "id:{1}")); ShowExpr.Add(new ExprFormatter("s[d].Probab", "\\np:{1:0.00000}")); ShowExpr.Add(new ExprFormatter("s[d].PotShares", "{1:0.00000}")); }
public StrategyTreeToXml() { // Add this assembly CompilerParams.ReferencedAssemblies.Add(CodeBase.Get(Assembly.GetExecutingAssembly())); ShowExpr.Add(new ExprFormatter("((ai.pkr.metastrategy.algorithms.StrategyTreeToXml)c).GetNodeName(t, s, d)", "{1}")); ShowExpr.Add(new ExprFormatter("((ai.pkr.metastrategy.algorithms.StrategyTreeToXml)c).GetPositionAttribute(t, s, d)", "a;p;{1}")); ShowExpr.Add(new ExprFormatter("((ai.pkr.metastrategy.algorithms.StrategyTreeToXml)c).GetCardAttribute(t, s, d)", "a;c;{1}")); ShowExpr.Add(new ExprFormatter("((ai.pkr.metastrategy.algorithms.StrategyTreeToXml)c).GetAmountAttribute(t, s, d)", "a;a;{1}")); ShowExpr.Add(new ExprFormatter("((ai.pkr.metastrategy.algorithms.StrategyTreeToXml)c).GetProbabAttribute(t, s, d)", "a;probab;{1}")); SkipEmpty = true; }
public Vis() { ShowExpr.Add(new ExprFormatter("s[d].Value", "\\nv:{1:0.00000}")); }
public VisStrategyTree() { ShowExpr.Clear(); ShowExpr.Add(new ExprFormatter("s[d].Id", "id:{1}")); ShowExpr.Add(new ExprFormatter("s[d].Probab", "\\np:{1:0.00000}")); }