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

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

◆ ABEGO_SS_Config()

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

Member Function Documentation

◆ get_pool_bins()

utility::vector1< std::pair<core::Size,core::Size> > protocols::frag_picker::quota::ABEGO_SS_Config::get_pool_bins ( core::Size  pool_id)

◆ highest_probability()

core::Real protocols::frag_picker::quota::ABEGO_SS_Config::highest_probability ( core::Size  pos)

◆ most_probable_bin()

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

◆ n_columns()

core::Size protocols::frag_picker::quota::ABEGO_SS_Config::n_columns ( )

◆ n_rows()

core::Size protocols::frag_picker::quota::ABEGO_SS_Config::n_rows ( )

References bin_probs_.

Referenced by ABEGO_SS_Config().

◆ probability()

core::Real protocols::frag_picker::quota::ABEGO_SS_Config::probability ( core::Size  seq_pos,
core::Size  bin 

◆ size()

core::Size protocols::frag_picker::quota::ABEGO_SS_Config::size ( )

◆ source_file_name()

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

References source_file_name_.

Member Data Documentation

◆ bin_probs_

utility::vector1< utility::vector1<core::Real> > protocols::frag_picker::quota::ABEGO_SS_Config::bin_probs_

◆ pool_defs_

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

Referenced by ABEGO_SS_Config(), and get_pool_bins().

◆ source_file_name_

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

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