PPL Assignment
IRM2015006
|
#include <kbest.h>
Public Member Functions | |
KBest (std::vector< T > elements) | |
template<typename Comparator > | |
std::vector< T > | getKBest (int k, Comparator &comparator) |
Private Attributes | |
std::vector< T > | elems |
Implementation of KBEST class KBest class This class uses STL, to find K best elements of a given vector based on some comparator