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

Method expanded

core/ctree/cnode.cpp:127–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125 }
126
127 int CNode::expanded(){
128 int child_num = this->children_index.size();
129 if(child_num > 0) {
130 return 1;
131 }
132 else {
133 return 0;
134 }
135 }
136
137 float CNode::value(){
138 float true_value = 0.0;

Callers 3

update_tree_qFunction · 0.80
cbatch_traverseFunction · 0.80

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected