| 19 | //********************************************************* |
| 20 | |
| 21 | CNode::CNode(){ |
| 22 | this->prior = 0; |
| 23 | this->action_num = 0; |
| 24 | this->best_action = -1; |
| 25 | |
| 26 | this->is_reset = 0; |
| 27 | this->visit_count = 0; |
| 28 | this->value_sum = 0; |
| 29 | this->to_play = 0; |
| 30 | this->value_prefix = 0.0; |
| 31 | this->ptr_node_pool = nullptr; |
| 32 | } |
| 33 | |
| 34 | CNode::CNode(float prior, int action_num, std::vector<CNode>* ptr_node_pool){ |
| 35 | this->prior = prior; |
nothing calls this directly
no outgoing calls
no test coverage detected