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

#include <Scheduler.hh>

Public Member Functions

 Scheduler ()
 
 ~Scheduler ()
 
void prepare_search_stage (core::Size const mpi_rank)
 
void prepare_enrich_stage (protocols::wum::SilentStructStore const &decoys, std::string const &scorename)
 
void proceed ()
 
void clear ()
 
void set_random (bool const value)
 
core::Size n_to_gen () const
 
core::Size nparams () const
 
core::Size iter () const
 
core::Size n_to_rerelax () const
 
core::Size n_rerelaxed () const
 
core::Size npick_per_iter () const
 
std::string const pick_strategy ()
 
std::string const pick_objfunction ()
 
std::string const methodname (core::Size value) const
 
void add_rerelaxed (core::Size const value)
 
void add_torerelax (core::Size const value)
 
bool final_iter () const
 
utility::vector1< core::Sizemethods_picked () const
 
MethodParams const get_params () const
 
MethodParams const get_params (core::Size const imethod) const
 
std::string roundtype () const
 
bool round_expired () const
 
bool is_excluded (utility::vector1< std::string > picked, std::string name2) const
 

Private Member Functions

void set_default ()
 
void add_fresh_param (std::string const &name)
 
void read_cmd (std::string const &cmdfile, core::Size const mpi_rank, core::Size const stage_to_run=1)
 
utility::vector1< core::Sizepick_enrich_methods (protocols::wum::SilentStructStore const &decoys, std::string const &scorename) const
 

Private Attributes

bool is_random_
 
utility::vector1< MethodParamsparams_
 
utility::vector1< core::Sizemethods_picked_
 
std::map< core::Size, std::string > methodname_
 
core::Size isch_
 
core::Size niter_
 
core::Size iter_
 
core::Size npick_per_iter_
 
std::string pick_strategy_
 
std::string pick_objfunction_
 
core::Size n_to_rerelax_
 
core::Size n_rerelaxed_
 
core::Size nmethods_enrich_max_
 
core::Real enrich_Zscore_cut_
 
core::Real Zdiff_outstand_
 
utility::vector1< std::pair
< std::string, std::string > > 
exclusions_
 

Constructor & Destructor Documentation

protocols::mpi_refinement::Scheduler::Scheduler ( )

References clear(), and set_default().

protocols::mpi_refinement::Scheduler::~Scheduler ( )
default

Member Function Documentation

void protocols::mpi_refinement::Scheduler::add_fresh_param ( std::string const &  name)
private
void protocols::mpi_refinement::Scheduler::add_rerelaxed ( core::Size const  value)
inline

References n_rerelaxed_, and n_to_rerelax_.

void protocols::mpi_refinement::Scheduler::add_torerelax ( core::Size const  value)
inline

References n_to_rerelax_.

void protocols::mpi_refinement::Scheduler::clear ( )

References isch_, methodname_, methods_picked_, and params_.

Referenced by read_cmd(), and Scheduler().

bool protocols::mpi_refinement::Scheduler::final_iter ( ) const
inline

References iter_, and niter_.

MethodParams const protocols::mpi_refinement::Scheduler::get_params ( ) const
inline

References isch_, and params_.

MethodParams const protocols::mpi_refinement::Scheduler::get_params ( core::Size const  imethod) const

References params_.

bool protocols::mpi_refinement::Scheduler::is_excluded ( utility::vector1< std::string >  picked,
std::string  name2 
) const

References exclusions_.

Referenced by pick_enrich_methods().

core::Size protocols::mpi_refinement::Scheduler::iter ( ) const
inline

References iter_.

std::string const protocols::mpi_refinement::Scheduler::methodname ( core::Size  value) const
inline

References methodname_.

Referenced by pick_enrich_methods().

utility::vector1< core::Size > protocols::mpi_refinement::Scheduler::methods_picked ( ) const
inline

References methods_picked_.

Referenced by pick_enrich_methods().

core::Size protocols::mpi_refinement::Scheduler::n_rerelaxed ( ) const
inline

References n_rerelaxed_.

core::Size protocols::mpi_refinement::Scheduler::n_to_gen ( ) const
core::Size protocols::mpi_refinement::Scheduler::n_to_rerelax ( ) const
inline

References n_to_rerelax_.

core::Size protocols::mpi_refinement::Scheduler::nparams ( ) const
inline

References params_.

core::Size protocols::mpi_refinement::Scheduler::npick_per_iter ( ) const
inline

References npick_per_iter_.

utility::vector1< core::Size > protocols::mpi_refinement::Scheduler::pick_enrich_methods ( protocols::wum::SilentStructStore const &  decoys,
std::string const &  scorename 
) const
private
std::string const protocols::mpi_refinement::Scheduler::pick_objfunction ( )
inline

References pick_objfunction_.

std::string const protocols::mpi_refinement::Scheduler::pick_strategy ( )
inline

References pick_strategy_.

void protocols::mpi_refinement::Scheduler::prepare_enrich_stage ( protocols::wum::SilentStructStore const &  decoys,
std::string const &  scorename 
)
void protocols::mpi_refinement::Scheduler::prepare_search_stage ( core::Size const  mpi_rank)
void protocols::mpi_refinement::Scheduler::proceed ( )
void protocols::mpi_refinement::Scheduler::read_cmd ( std::string const &  cmdfile,
core::Size const  mpi_rank,
core::Size const  stage_to_run = 1 
)
private
bool protocols::mpi_refinement::Scheduler::round_expired ( ) const
inline

References isch_, and params_.

std::string protocols::mpi_refinement::Scheduler::roundtype ( ) const
inline

References isch_, and params_.

Referenced by proceed(), and read_cmd().

void protocols::mpi_refinement::Scheduler::set_default ( )
private
void protocols::mpi_refinement::Scheduler::set_random ( bool const  value)
inline

References is_random_.

Member Data Documentation

core::Real protocols::mpi_refinement::Scheduler::enrich_Zscore_cut_
private

Referenced by pick_enrich_methods(), and set_default().

utility::vector1< std::pair< std::string, std::string > > protocols::mpi_refinement::Scheduler::exclusions_
private

Referenced by is_excluded(), read_cmd(), and set_default().

bool protocols::mpi_refinement::Scheduler::is_random_
private

Referenced by set_default(), and set_random().

core::Size protocols::mpi_refinement::Scheduler::isch_
private
core::Size protocols::mpi_refinement::Scheduler::iter_
private

Referenced by final_iter(), iter(), proceed(), and set_default().

std::map< core::Size, std::string > protocols::mpi_refinement::Scheduler::methodname_
private
utility::vector1< core::Size > protocols::mpi_refinement::Scheduler::methods_picked_
private
core::Size protocols::mpi_refinement::Scheduler::n_rerelaxed_
private
core::Size protocols::mpi_refinement::Scheduler::n_to_rerelax_
private
core::Size protocols::mpi_refinement::Scheduler::niter_
private
core::Size protocols::mpi_refinement::Scheduler::nmethods_enrich_max_
private

Referenced by pick_enrich_methods(), and set_default().

core::Size protocols::mpi_refinement::Scheduler::npick_per_iter_
private

Referenced by npick_per_iter(), and read_cmd().

utility::vector1< MethodParams > protocols::mpi_refinement::Scheduler::params_
private
std::string protocols::mpi_refinement::Scheduler::pick_objfunction_
private

Referenced by pick_objfunction(), and read_cmd().

std::string protocols::mpi_refinement::Scheduler::pick_strategy_
private

Referenced by pick_strategy(), and read_cmd().

core::Real protocols::mpi_refinement::Scheduler::Zdiff_outstand_
private

Referenced by pick_enrich_methods(), and set_default().


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