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

Method CopyFrom

src/treelearner/split_info.hpp:212–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210 }
211
212 void CopyFrom(const SplitInfo& other) {
213 feature = other.feature;
214 gain = other.gain;
215 left_count = other.left_count;
216 right_count = other.right_count;
217 }
218
219 void CopyFrom(const char* buffer) {
220 std::memcpy(&feature, buffer, sizeof(feature));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected