| 135 | } |
| 136 | |
| 137 | float CNode::value(){ |
| 138 | float true_value = 0.0; |
| 139 | if(this->visit_count == 0){ |
| 140 | return true_value; |
| 141 | } |
| 142 | else{ |
| 143 | true_value = this->value_sum / this->visit_count; |
| 144 | return true_value; |
| 145 | } |
| 146 | } |
| 147 | |
| 148 | std::vector<int> CNode::get_trajectory(){ |
| 149 | std::vector<int> traj; |
no outgoing calls
no test coverage detected