| 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; |