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

Method get_distributions

core/ctree/cnode.cpp:236–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234 }
235
236 std::vector<std::vector<int>> CRoots::get_distributions(){
237 std::vector<std::vector<int>> distributions;
238 distributions.reserve(this->root_num);
239
240 for(int i = 0; i < this->root_num; ++i){
241 distributions.push_back(this->roots[i].get_children_distribution());
242 }
243 return distributions;
244 }
245
246 std::vector<float> CRoots::get_values(){
247 std::vector<float> values;

Callers 3

testFunction · 0.80
runMethod · 0.80
_prepare_policy_reMethod · 0.80

Calls 1

Tested by 1

testFunction · 0.64