Rosetta 3.3
Classes | Namespaces
src/utility/TopScoreSelector.hh File Reference

Class for keeping the N top-scoring objects. More...

#include <utility/TopScoreSelector.fwd.hh>
#include <utility/vector1.hh>
#include <platform/types.hh>
#include <cassert>
#include <iostream>


class  utility::TopScoreSelector< T, S >
 The TopScoreSelector keeps an in-place, sorted, singly-linked list of the N top-scoring objects and their scores that it encounters. In the case of ties, the first object(s) encountered are kept. Class T must have a default constructor, a copy constructor, and must be assignable. Class S must be assignable and comparable, both by a < operator and by a > operator. More...


namespace  utility

unresizable vector whose size is known at compile time, which may be allocated on the stack, and which indexes from 1.

Detailed Description

Class for keeping the N top-scoring objects.

Andrew Leaver-Fay (
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines