Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ SortUnique
Function
SortUnique
util/generic/algorithm.h:307–310 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
305
306
template <class C>
307
void SortUnique(C& c) {
308
Sort(c.begin(), c.end());
309
c.erase(Unique(c.begin(), c.end()), c.end());
310
}
311
312
template <class C, class Cmp>
313
void SortUnique(C& c, Cmp cmp) {
Callers
8
AlmostEqual
Method · 0.85
AlmostEqualModelInfo
Method · 0.85
LoadInMatrixnetFormat
Function · 0.85
CalcLabelToClassMap
Function · 0.85
LoadBordersAndNanModesFromFromFileInMatrixnetFormat
Function · 0.85
AddTree
Method · 0.85
Init
Method · 0.85
Y_UNIT_TEST
Function · 0.85
Calls
5
Sort
Function · 0.70
Unique
Function · 0.70
begin
Method · 0.45
end
Method · 0.45
erase
Method · 0.45
Tested by
no test coverage detected