Rosetta Protocols  2014.35
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>

Public Member Functions

 ABEGO_SS_Config (std::string &config_file_name)
 Constructor reads a config file. More...
 
Size n_columns ()
 
Size n_rows ()
 
Size size ()
 
std::stringsource_file_name ()
 
Real probability (Size seq_pos, Size bin)
 
Real highest_probability (Size)
 
Size most_probable_bin (Size)
 
utility::vector1< std::pair
< Size, Size > > 
get_pool_bins (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...
 
Size count_pools ()
 how many pools have been defined in a config file More...
 
Real get_fraction (Size pool_id)
 returns a fraction for a given pool More...
 
void set_fraction (Size pool_id, Real fraction)
 returns a fraction for a given pool More...
 
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::stringget_pool_name (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
< Size, Size > > > 
pool_defs_
 
utility::vector1
< utility::vector1< Real > > 
bin_probs_
 

Additional Inherited Members

- Protected Attributes inherited from protocols::frag_picker::quota::QuotaConfig
utility::vector1< Realpool_weights_
 
utility::vector1< std::stringpool_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<Size,Size> > protocols::frag_picker::quota::ABEGO_SS_Config::get_pool_bins ( Size  pool_id)
inline
Real protocols::frag_picker::quota::ABEGO_SS_Config::highest_probability ( Size  pos)

References bin_probs_, and max().

Size protocols::frag_picker::quota::ABEGO_SS_Config::most_probable_bin ( Size  pos)

References bin_probs_, and max().

Size protocols::frag_picker::quota::ABEGO_SS_Config::n_columns ( )
inline
Size protocols::frag_picker::quota::ABEGO_SS_Config::n_rows ( )
inline

References bin_probs_.

Referenced by ABEGO_SS_Config().

Real protocols::frag_picker::quota::ABEGO_SS_Config::probability ( Size  seq_pos,
Size  bin 
)
inline
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<Real> > protocols::frag_picker::quota::ABEGO_SS_Config::bin_probs_
private
utility::vector1< utility::vector1< std::pair<Size,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: