Esempio n. 1
0
        private static int NUMTESTS = 10; //previously 20

        public PIPMCSinglePlayer(Perspective perspective) : base(perspective)
        {
        }
Esempio n. 2
0
 public RandomPlayer(Perspective perspective) : base(perspective)
 {
 }
Esempio n. 3
0
 public AIPlayer(Perspective perspective)
 {
     this.perspective = perspective;
     numPlayers       = perspective.NumberOfPlayers();
 }
Esempio n. 4
0
        private static int NUMTESTS = 10; //previously 20

        public MCTSPLayer(Perspective perspective) : base(perspective)
        {
            plays         = new Dictionary <Tuple <CardGame, int>, int>();
            wins          = new Dictionary <Tuple <CardGame, int>, double>();
            movestatetree = new Dictionary <Tuple <CardGame, int>, Tuple <CardGame, int>[]>();
        }