Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <util.h>
Public Member Functions | |
TopN (int n) | |
void | Clear () |
void | Add (Element e, Score score) |
bool | empty () const |
const std::vector< Element > & | UnorderedElements () const |
std::vector< Element > * | MutableUnorderedElements () |
Keep the top n elements from a stream of elements.
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |