![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
Definition at line 64 of file space_saving_most_frequent.h.
#include <space_saving_most_frequent.h>
Public Member Functions | |
| SpaceSavingMostFrequent (int storage_size) | |
| ~SpaceSavingMostFrequent () | |
| void | Add (T value) |
| void | FullyRemove (const T &value) |
| std::vector< std::pair< T, int64_t > > | GetMostFrequent (int num_samples) const |
| T | PopMostFrequent () |
| int64_t | CountOfMostFrequent () const |
|
explicit |
Definition at line 170 of file space_saving_most_frequent.h.
| operations_research::SpaceSavingMostFrequent< T, Hash, Eq >::~SpaceSavingMostFrequent | ( | ) |
Definition at line 181 of file space_saving_most_frequent.h.
| void operations_research::SpaceSavingMostFrequent< T, Hash, Eq >::Add | ( | T | value | ) |
Definition at line 197 of file space_saving_most_frequent.h.
| int64_t operations_research::SpaceSavingMostFrequent< T, Hash, Eq >::CountOfMostFrequent | ( | ) | const |
Definition at line 306 of file space_saving_most_frequent.h.
| void operations_research::SpaceSavingMostFrequent< T, Hash, Eq >::FullyRemove | ( | const T & | value | ) |
Definition at line 270 of file space_saving_most_frequent.h.
| std::vector< std::pair< T, int64_t > > operations_research::SpaceSavingMostFrequent< T, Hash, Eq >::GetMostFrequent | ( | int | num_samples | ) | const |
Definition at line 278 of file space_saving_most_frequent.h.
| T operations_research::SpaceSavingMostFrequent< T, Hash, Eq >::PopMostFrequent | ( | ) |
Definition at line 295 of file space_saving_most_frequent.h.