MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / MarkUsed

Function MarkUsed

python-package/compile/src/io/dataset.cpp:63–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 return ret;
62}
63void MarkUsed(std::vector<bool>* mark, const int* indices, int num_indices) {
64 auto& ref_mark = *mark;
65 for (int i = 0; i < num_indices; ++i) {
66 ref_mark[indices[i]] = true;
67 }
68}
69
70std::vector<std::vector<int>> FindGroups(const std::vector<std::unique_ptr<BinMapper>>& bin_mappers,
71 const std::vector<int>& find_order,

Callers 1

FindGroupsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected