Example #1
0
 public Prisoner(string _Name)
 {
     //titforTate kind
     LastAction          = 0;
     OpponentsLastOption = 0;
     MLPUSed             = false;
     NewPolicy           = new RLPolicy(0, 0, 0, _Name, "TIT", 0);
 }
Example #2
0
        public Prisoner(string _Name, int _input, int _output, int _HiddenLayer, string LearnType, int ELCount, int CacheSize)
        {
            LastAction          = rnd.Next(0, 2);
            OpponentsLastOption = rnd.Next(0, 2);

            NewPolicy = new RLPolicy(_input, _output, _HiddenLayer, _Name, LearnType, CacheSize);
            MLPUSed   = true;
        }