Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
protocols::frag_picker::quota::ABEGO_SS_Config Class Reference

read a config file for quota selector More...

#include <ABEGO_SS_Config.hh>

Inheritance diagram for protocols::frag_picker::quota::ABEGO_SS_Config:
Inheritance graph
[legend]

Public Member Functions

 ABEGO_SS_Config (std::string &config_file_name)
 Constructor reads a config file. More...
 
core::Size n_columns ()
 
core::Size n_rows ()
 
core::Size size ()
 
std::string & source_file_name ()
 
core::Real probability (core::Size seq_pos, core::Size bin)
 
core::Real highest_probability (core::Size)
 
core::Size most_probable_bin (core::Size)
 
utility::vector1< std::pair
< core::Size, core::Size > > 
get_pool_bins (core::Size pool_id)
 
- Public Member Functions inherited from protocols::frag_picker::quota::QuotaConfig
 QuotaConfig (std::string config_file_name)
 Constructor reads a config file. More...
 
 QuotaConfig ()
 Constructor used by derived classes. More...
 
core::Size count_pools ()
 how many pools have been defined in a config file More...
 
core::Real get_fraction (core::Size pool_id)
 returns a fraction for a given pool More...
 
void set_fraction (core::Size pool_id, core::Real fraction)
 returns a fraction for a given pool More...
 
core::Real get_fraction (std::string pool_name)
 returns a fraction for a given pool More...
 
bool is_valid_quota_pool_name (std::string &pool_name)
 returns true if a config file defined a given pool name More...
 
std::string & get_pool_name (core::Size pool_id)
 return a string id (name) assigned to a given pool More...
 

Private Attributes

std::string source_file_name_
 
utility::vector1
< utility::vector1< std::pair
< core::Size, core::Size > > > 
pool_defs_
 
utility::vector1
< utility::vector1< core::Real > > 
bin_probs_
 

Additional Inherited Members

- Protected Attributes inherited from protocols::frag_picker::quota::QuotaConfig
utility::vector1< core::Realpool_weights_
 
utility::vector1< std::string > pool_names_
 

Detailed Description

read a config file for quota selector

Constructor & Destructor Documentation

protocols::frag_picker::quota::ABEGO_SS_Config::ABEGO_SS_Config ( std::string &  config_file_name)

Member Function Documentation

utility::vector1< std::pair<core::Size,core::Size> > protocols::frag_picker::quota::ABEGO_SS_Config::get_pool_bins ( core::Size  pool_id)
inline
core::Real protocols::frag_picker::quota::ABEGO_SS_Config::highest_probability ( core::Size  pos)
core::Size protocols::frag_picker::quota::ABEGO_SS_Config::most_probable_bin ( core::Size  pos)
core::Size protocols::frag_picker::quota::ABEGO_SS_Config::n_columns ( )
inline
core::Size protocols::frag_picker::quota::ABEGO_SS_Config::n_rows ( )
inline

References bin_probs_.

Referenced by ABEGO_SS_Config().

core::Real protocols::frag_picker::quota::ABEGO_SS_Config::probability ( core::Size  seq_pos,
core::Size  bin 
)
inline
core::Size protocols::frag_picker::quota::ABEGO_SS_Config::size ( )
inline
std::string& protocols::frag_picker::quota::ABEGO_SS_Config::source_file_name ( )
inline

References source_file_name_.

Member Data Documentation

utility::vector1< utility::vector1<core::Real> > protocols::frag_picker::quota::ABEGO_SS_Config::bin_probs_
private
utility::vector1< utility::vector1< std::pair<core::Size,core::Size> > > protocols::frag_picker::quota::ABEGO_SS_Config::pool_defs_
private

Referenced by ABEGO_SS_Config(), and get_pool_bins().

std::string protocols::frag_picker::quota::ABEGO_SS_Config::source_file_name_
private

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