MCPcopy Create free account
hub / github.com/catboost/catboost / GetSelectedCompList

Function GetSelectedCompList

library/cpp/par/distr_tree.cpp:325–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323 }
324
325 void GetSelectedCompList(TVector<bool>* res, const TVector<ui16>& plan) {
326 res->resize(0);
327 for (int i = 0; i < plan.ysize(); ++i) {
328 int n = plan[i];
329 if (n >= N_GROUP_FIRST_CODE)
330 continue;
331 AddCompToSelectedList(res, n);
332 }
333 }
334}

Callers 2

RescheduleJobRequestFunction · 0.85
ProjectJobFunction · 0.85

Calls 3

AddCompToSelectedListFunction · 0.85
resizeMethod · 0.45
ysizeMethod · 0.45

Tested by

no test coverage detected