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

#include <PairingStatistics.hh>

Inheritance diagram for protocols::abinitio::PairingStatistics:
Inheritance graph
[legend]

Public Types

typedef StatEntries::const_iterator const_iterator
 
typedef PairingStatEntry::Model Model
 
typedef std::map< Model,
core::scoring::dssp::StrandPairingSet
Topologies
 
typedef std::map< Model,
core::Size
ModelFreq
 
typedef utility::vector1
< std::pair< core::Real, Model > > 
ModelWeight
 
typedef std::map< Model,
core::Real
Weights
 

Public Member Functions

 PairingStatistics ()
 
 ~PairingStatistics () override
 
 PairingStatistics (Templates const &templates)
 
 PairingStatistics (core::scoring::dssp::StrandPairingSet const &topology)
 
void set_native_topology (core::scoring::dssp::StrandPairingSet const &topology)
 
core::scoring::dssp::StrandPairingSet
const & 
get_native_topology () const
 
const_iterator begin () const
 
const_iterator end () const
 
Model ranked_model (core::Size nr) const
 
core::Size nr_models () const
 
core::Real weight (core::Size nr) const
 
core::Real weight (Model id) const
 
core::scoring::dssp::StrandPairingSet
const & 
topology (Model id) const
 
core::Real strand_weight (core::scoring::dssp::StrandPairing const &pairing) const
 
core::scoring::dssp::StrandPairingSet
const & 
suggest_topology (std::string &topol_id) const
 
bool is_native_pairing (core::scoring::dssp::StrandPairing const &pairing) const
 
void add_entry (core::scoring::dssp::StrandPairing const &ps, Model const &id)
 
void add_topology (core::scoring::dssp::StrandPairingSet const &topology, Model const &id)
 
void compute_model_weights (ModelFreq &)
 

Static Public Member Functions

static void register_options ()
 

Private Member Functions

void compute (Templates const &templates)
 

Private Attributes

StatEntries entries_
 
Topologies topols_
 
ModelWeight model_weight_
 
core::scoring::dssp::StrandPairingSet native_topology_
 

Friends

std::ostream & operator<< (std::ostream &, PairingStatistics const &ps)
 
std::istream & operator>> (std::istream &is, PairingStatistics &ps)
 

Member Typedef Documentation

typedef StatEntries::const_iterator protocols::abinitio::PairingStatistics::const_iterator
typedef utility::vector1< std::pair< core::Real, Model > > protocols::abinitio::PairingStatistics::ModelWeight

Constructor & Destructor Documentation

protocols::abinitio::PairingStatistics::PairingStatistics ( )
inline
protocols::abinitio::PairingStatistics::~PairingStatistics ( )
overridedefault
protocols::abinitio::PairingStatistics::PairingStatistics ( Templates const &  templates)
inline

References compute().

protocols::abinitio::PairingStatistics::PairingStatistics ( core::scoring::dssp::StrandPairingSet const &  topology)

Member Function Documentation

void protocols::abinitio::PairingStatistics::add_entry ( core::scoring::dssp::StrandPairing const &  ps,
Model const &  id 
)

References entries_.

Referenced by add_topology().

void protocols::abinitio::PairingStatistics::add_topology ( core::scoring::dssp::StrandPairingSet const &  topology,
Model const &  id 
)

References add_entry(), topology(), topols_, and tr().

Referenced by compute(), and PairingStatistics().

const_iterator protocols::abinitio::PairingStatistics::begin ( ) const
inline

References entries_.

void protocols::abinitio::PairingStatistics::compute ( Templates const &  templates)
private
void protocols::abinitio::PairingStatistics::compute_model_weights ( ModelFreq model_freq)
const_iterator protocols::abinitio::PairingStatistics::end ( ) const
inline

References entries_.

core::scoring::dssp::StrandPairingSet const& protocols::abinitio::PairingStatistics::get_native_topology ( ) const
inline

References native_topology_.

bool protocols::abinitio::PairingStatistics::is_native_pairing ( core::scoring::dssp::StrandPairing const &  pairing) const
inline
core::Size protocols::abinitio::PairingStatistics::nr_models ( ) const
inline

References model_weight_.

Referenced by suggest_topology().

Model protocols::abinitio::PairingStatistics::ranked_model ( core::Size  nr) const
inline

References model_weight_.

Referenced by suggest_topology().

void protocols::abinitio::PairingStatistics::register_options ( )
static
void protocols::abinitio::PairingStatistics::set_native_topology ( core::scoring::dssp::StrandPairingSet const &  topology)
inline

References native_topology_, and topology().

core::Real protocols::abinitio::PairingStatistics::strand_weight ( core::scoring::dssp::StrandPairing const &  pairing) const

References entries_.

Referenced by protocols::abinitio::operator<<().

core::scoring::dssp::StrandPairingSet const & protocols::abinitio::PairingStatistics::suggest_topology ( std::string &  topol_id) const
core::scoring::dssp::StrandPairingSet const& protocols::abinitio::PairingStatistics::topology ( Model  id) const
inline
core::Real protocols::abinitio::PairingStatistics::weight ( core::Size  nr) const
inline

References model_weight_.

Referenced by compute_model_weights(), and suggest_topology().

core::Real protocols::abinitio::PairingStatistics::weight ( Model  id) const

References model_weight_.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  ,
PairingStatistics const &  ps 
)
friend
std::istream& operator>> ( std::istream &  is,
PairingStatistics ps 
)
friend

Member Data Documentation

StatEntries protocols::abinitio::PairingStatistics::entries_
private
ModelWeight protocols::abinitio::PairingStatistics::model_weight_
private
core::scoring::dssp::StrandPairingSet protocols::abinitio::PairingStatistics::native_topology_
private
Topologies protocols::abinitio::PairingStatistics::topols_
private

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