Rosetta 3.5
 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]
Collaboration diagram for protocols::abinitio::PairingStatistics:
Collaboration 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 ()
 
virtual ~PairingStatistics ()
 
 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 (Size nr) const
 
core::Size nr_models () const
 
core::Real weight (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)
 

Detailed Description

Definition at line 150 of file PairingStatistics.hh.

Member Typedef Documentation

typedef StatEntries::const_iterator protocols::abinitio::PairingStatistics::const_iterator

Definition at line 152 of file PairingStatistics.hh.

Definition at line 153 of file PairingStatistics.hh.

Definition at line 155 of file PairingStatistics.hh.

Definition at line 156 of file PairingStatistics.hh.

Definition at line 154 of file PairingStatistics.hh.

Definition at line 157 of file PairingStatistics.hh.

Constructor & Destructor Documentation

protocols::abinitio::PairingStatistics::PairingStatistics ( )
inline

Definition at line 159 of file PairingStatistics.hh.

protocols::abinitio::PairingStatistics::~PairingStatistics ( )
virtual

Definition at line 207 of file PairingStatistics.cc.

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

Definition at line 162 of file PairingStatistics.hh.

References compute().

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

Definition at line 200 of file PairingStatistics.cc.

References add_topology(), and compute_model_weights().

Member Function Documentation

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

Definition at line 149 of file PairingStatistics.cc.

References entries_.

Referenced by add_topology().

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

Definition at line 176 of file PairingStatistics.hh.

References entries_.

Referenced by protocols::abinitio::StrandConstraints::StrandConstraints().

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

Definition at line 232 of file PairingStatistics.cc.

References entries_, model_weight_, topols_, and weight().

Referenced by compute(), and PairingStatistics().

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

Definition at line 180 of file PairingStatistics.hh.

References entries_.

Referenced by protocols::abinitio::StrandConstraints::StrandConstraints().

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

Definition at line 172 of file PairingStatistics.hh.

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

Definition at line 189 of file PairingStatistics.hh.

References model_weight_.

Referenced by suggest_topology().

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

Definition at line 184 of file PairingStatistics.hh.

References model_weight_.

Referenced by suggest_topology().

void protocols::abinitio::PairingStatistics::register_options ( )
static

Definition at line 84 of file PairingStatistics.cc.

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

Definition at line 168 of file PairingStatistics.hh.

References native_topology_, and topology().

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

Definition at line 209 of file PairingStatistics.cc.

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 ( Size  nr) const
inline

Definition at line 193 of file PairingStatistics.hh.

References model_weight_.

Referenced by compute_model_weights(), and suggest_topology().

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

Definition at line 224 of file PairingStatistics.cc.

References model_weight_.

Friends And Related Function Documentation

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

Definition at line 305 of file PairingStatistics.cc.

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

Definition at line 386 of file PairingStatistics.cc.

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: