NeverOnTimeSdnBhd / Delivery-Instances

2 stars 6 forks source link

MCT simulation #11

Open ghost opened 3 years ago

ghost commented 3 years ago

Hi Sir, I have coded following your pseudocode for MCTS, its difficult to solve code bugs when I dont really fully understand this algorithm. Is the global policy a 2d array? with NxN size. Because when i run my code it seems to be stuck at line 27. Is this initialization correct?

double[][][]policy=new double[level][N][N]; double[][]globalPolicy=new double[N][N];

line 27: policy[level]=globalPolicy;

Sorry to bother, thanks so much for your time.

NeverOnTimeSdnBhd commented 3 years ago

Hi

Yea they are correct