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

Class THeapComparator

library/cpp/cache/cache.h:366–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364 };
365
366 struct THeapComparator {
367 bool operator()(TItem* const item1, TItem* const item2) const {
368 return item1->Weight > item2->Weight;
369 }
370 };
371
372public:
373 TItem* Insert(TItem* item) {

Callers 3

InsertMethod · 0.85
RemoveIfOverflownMethod · 0.85
FixHeapMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected