Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
protocols::match::output::BestMatchesCollection Class Reference

#include <MatchConsolidator.hh>

Inheritance diagram for protocols::match::output::BestMatchesCollection:
Inheritance graph
[legend]

Public Types

typedef core::Size Size
 
typedef core::Real Real
 

Public Member Functions

 BestMatchesCollection (core::Size n_to_keep, bool dspos1_mode=false)
 
 ~BestMatchesCollection () override
 
void add_match (match const &m, Real score)
 
void add_match_dspos1 (match_dspos1 const &m, Real score)
 
bool dspos1_mode () const
 
core::Size n_kept_matches () const
 
match const & kept_match (core::Size which_match) const
 
match_dspos1 const & kept_match_dspos1 (core::Size which_match) const
 

Private Member Functions

core::Size index_for_new_match (Real score)
 

Private Attributes

bool const dspos1_mode_
 
utility::heap scores_heap_
 
utility::vector1< matchbest_matches_
 
utility::vector1< match_dspos1best_match_dspos1s_
 

Member Typedef Documentation

Constructor & Destructor Documentation

protocols::match::output::BestMatchesCollection::BestMatchesCollection ( core::Size  n_to_keep,
bool  dspos1_mode = false 
)
protocols::match::output::BestMatchesCollection::~BestMatchesCollection ( )
overridedefault

Member Function Documentation

void protocols::match::output::BestMatchesCollection::add_match ( match const &  m,
Real  score 
)
void protocols::match::output::BestMatchesCollection::add_match_dspos1 ( match_dspos1 const &  m,
Real  score 
)
bool protocols::match::output::BestMatchesCollection::dspos1_mode ( ) const
inline

References dspos1_mode_.

BestMatchesCollection::Size protocols::match::output::BestMatchesCollection::index_for_new_match ( Real  score)
private
match const & protocols::match::output::BestMatchesCollection::kept_match ( core::Size  which_match) const
match_dspos1 const & protocols::match::output::BestMatchesCollection::kept_match_dspos1 ( core::Size  which_match) const
BestMatchesCollection::Size protocols::match::output::BestMatchesCollection::n_kept_matches ( ) const

References scores_heap_.

Member Data Documentation

utility::vector1< match_dspos1 > protocols::match::output::BestMatchesCollection::best_match_dspos1s_
private
utility::vector1< match > protocols::match::output::BestMatchesCollection::best_matches_
private

Referenced by add_match(), and kept_match().

bool const protocols::match::output::BestMatchesCollection::dspos1_mode_
private
utility::heap protocols::match::output::BestMatchesCollection::scores_heap_
private

The documentation for this class was generated from the following files: