MCPcopy Create free account
hub / github.com/YeWR/EfficientZero / value

Method value

core/ctree/cnode.cpp:137–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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;

Callers 5

runMethod · 0.45
get_mean_qMethod · 0.45
get_valuesMethod · 0.45
update_tree_qFunction · 0.45
cucb_scoreFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected