Example #1
0
 public double[] rollOut()
 {
     Playfield RandomRollerState = new Playfield(state);
     int action = 0;
     while (!RandomRollerState.isEnded() && action != -1) {
         action = RandomRoller.roll(RandomRollerState);
         if(action >= 0)
         {
             RandomRollerState.tick(action);
         }
     }
     return m_ParetoMCTSPlayer.getHeuristic().value(RandomRollerState);
 }