package rddl.solver.mdp.mcts;
import rddl.solver.mdp.mcts.MCTS.TreeNode;
public class MyBackpropMCTS extends MCTS {
public MyBackpropMCTS(String instance_name) {
super(instance_name);
}
/**
* Backpropagates the cumulative reward from a rollout trajectory to ancestral nodes.
*
* @param node the currently updated node (initially, a leaf node)
* @param cumRewardFromLeaf the cumulative reward to backpropagate (initially, the cumReward from simulation)
*/
@Override
public void backPropagate(TreeNode node, double cumRewardFromLeaf) {
/**
* TODO: implement your chosen back-up strategy (note: you need to explain your rationale in /files/mie369_project4/mymcts.txt)
*/
}
}