예제 #1
0
 public void BackPropagate(Reward reward)
 {
     _reward.AddReward(reward);
     _numSimulations++;
     _parent?.BackPropagate(reward);
 }
예제 #2
0
 public void AddReward(Reward reward)
 {
     _rewards[1] += reward.GetRewardForPlayer(1);
     _rewards[2] += reward.GetRewardForPlayer(2);
 }