Rosetta 3.5
 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]
Collaboration diagram for protocols::match::output::BestMatchesCollection:
Collaboration graph
[legend]

Public Types

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

Public Member Functions

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

Private Member Functions

Size index_for_new_match (Real score)
 

Private Attributes

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

Detailed Description

Definition at line 114 of file MatchConsolidator.hh.

Member Typedef Documentation

Definition at line 118 of file MatchConsolidator.hh.

Definition at line 117 of file MatchConsolidator.hh.

Constructor & Destructor Documentation

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

Definition at line 235 of file MatchConsolidator.cc.

protocols::match::output::BestMatchesCollection::~BestMatchesCollection ( )
virtual

Definition at line 233 of file MatchConsolidator.cc.

Member Function Documentation

void protocols::match::output::BestMatchesCollection::add_match ( match const &  m,
Real  score 
)

Definition at line 248 of file MatchConsolidator.cc.

References best_matches_, dspos1_mode_, and index_for_new_match().

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

Definition at line 258 of file MatchConsolidator.cc.

References best_match_dspos1s_, dspos1_mode_, and index_for_new_match().

bool protocols::match::output::BestMatchesCollection::dspos1_mode ( ) const
inline

Definition at line 130 of file MatchConsolidator.hh.

References dspos1_mode_.

BestMatchesCollection::Size protocols::match::output::BestMatchesCollection::index_for_new_match ( Real  score)
private

Definition at line 291 of file MatchConsolidator.cc.

References scores_heap_.

Referenced by add_match(), and add_match_dspos1().

match const & protocols::match::output::BestMatchesCollection::kept_match ( Size  which_match) const

Definition at line 274 of file MatchConsolidator.cc.

References best_matches_, dspos1_mode_, and scores_heap_.

match_dspos1 const & protocols::match::output::BestMatchesCollection::kept_match_dspos1 ( Size  which_match) const

Definition at line 282 of file MatchConsolidator.cc.

References best_match_dspos1s_, dspos1_mode_, and scores_heap_.

BestMatchesCollection::Size protocols::match::output::BestMatchesCollection::n_kept_matches ( ) const

Definition at line 268 of file MatchConsolidator.cc.

References scores_heap_.

Member Data Documentation

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

Definition at line 154 of file MatchConsolidator.hh.

Referenced by add_match_dspos1(), and kept_match_dspos1().

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

Definition at line 153 of file MatchConsolidator.hh.

Referenced by add_match(), and kept_match().

bool const protocols::match::output::BestMatchesCollection::dspos1_mode_
private
Size const protocols::match::output::BestMatchesCollection::n_top_matches_to_keep_
private

Definition at line 147 of file MatchConsolidator.hh.

utility::heap protocols::match::output::BestMatchesCollection::scores_heap_
private

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