NeverOnTimeSdnBhd / Delivery-Instances

2 stars 6 forks source link

Question regarding MCTS 2 #5

Open hozhiyi opened 3 years ago

hozhiyi commented 3 years ago

Hi, regarding the pseudocode for MCTS at line 96, it says "probability[i] = Math.exp(globalPolicy[currentStop][possible_successors[i]])". May I know what does the currentStop stands for? Because my currentStop is of type Customer, but it should be int in that line of code.

NeverOnTimeSdnBhd commented 3 years ago

Hi

Referring to the documentation about MCTS, you can see that I label the global policy with numbers

image

the labelling (0, 1, 2, 3, ...) stands for stops' ID, in your case, the customers' ID (you should have a way to differentiate every customer from others)