Rosetta  2020.46
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | List of all members
protocols::pack_daemon::DynamicAggregateFunctionDriver Class Reference

#include <DynamicAggregateFunction.hh>

Inheritance diagram for protocols::pack_daemon::DynamicAggregateFunctionDriver:
Inheritance graph
[legend]

Public Member Functions

void initialize_from_input_file (DaemonSetOP daemon_set, std::istream &input)
 
- Public Member Functions inherited from protocols::pack_daemon::DynamicAggregateFunction
 DynamicAggregateFunction ()
 
 ~DynamicAggregateFunction () override
 
void set_num_entity_elements (core::Size setting)
 
void set_score_function (core::scoring::ScoreFunction const &sfxn)
 
core::Size num_states () const
 
core::Size num_npd_properties () const
 
core::Size num_npd_properties_for_state (core::Size state_id) const
 
core::Real evaluate (StateEnergies const &, StateEnergies const &npd_properties, Entity const &) override
 
StateIndices select_relevant_states (StateEnergies const &en, StateEnergies const &npd, Entity const &) override
 
ExpressionCOP variable_expression (numeric::expression_parser::ArithmeticASTValue const &) const
 
ExpressionCOP function_expression (numeric::expression_parser::FunctionTokenCOP function, utility::vector1< ExpressionCOP > const &args) const
 
void add_file_contents (std::string const &fname, std::string const &contents)
 Pair a file name with a string – instead of opening a file when asked to read this file, the DAF will use the contents of the file as provided. Useful for testing purposes. More...
 
std::string state_name (core::Size state_index) const
 
StructureFileNames const & file_inputs_for_job (int job_index) const
 
void read_all_variables_from_input_file (std::istream &input)
 Initialize from an input stream without trying to communicate with remote nodes. More...
 
std::list< std::pair
< core::Size, std::string >
>::const_iterator 
npd_variable_indices_for_state_begin (core::Size state_id) const
 
std::list< std::pair
< core::Size, std::string >
>::const_iterator 
npd_variable_indices_for_state_end (core::Size state_id) const
 
- Public Member Functions inherited from protocols::pack_daemon::MultistateAggregateFunction
 MultistateAggregateFunction ()
 
 ~MultistateAggregateFunction () override
 

Private Member Functions

void initialize_pack_daemons (DaemonSetOP daemon_set)
 After the input stream has been read, assign the states to particular nodes and to the the pack daemon on this node. More...
 
void distribute_jobs_to_remote_daemons (DaemonSetOP daemon_set)
 
void assign_jobs_to_local_daemon_set (std::list< int > const &job_indices, DaemonSetOP daemon_set)
 
void assign_jobs_to_remote_daemon_sets (int proc_id, std::list< int > const &job_indices)
 
bool verify_remote_daemon_set_initialization_successful (int proc_id) const
 
void send_success_message_to_remote_daemon_set (int proc_id) const
 
void send_error_message_to_remote_daemon_sets () const
 
void initialize_daemon_with_all_states (DaemonSetOP daemon_set)
 

Additional Inherited Members

- Public Types inherited from protocols::pack_daemon::DynamicAggregateFunction
typedef MultistateAggregateFunction parent
 
typedef
protocols::genetic_algorithm::Entity 
Entity
 
typedef
numeric::expression_parser::Expression 
Expression
 
typedef
numeric::expression_parser::ExpressionOP 
ExpressionOP
 
typedef
numeric::expression_parser::ExpressionCOP 
ExpressionCOP
 
typedef
numeric::expression_parser::VariableExpression 
VariableExpression
 
typedef
numeric::expression_parser::VariableExpressionOP 
VariableExpressionOP
 
typedef
numeric::expression_parser::VariableExpressionCOP 
VariableExpressionCOP
 
typedef
numeric::expression_parser::ArithmeticASTExpressionOP 
ArithmeticASTExpressionOP
 
typedef utility::vector1
< core::Real
ExpressionValues
 
typedef core::Size Size
 
- Public Types inherited from protocols::pack_daemon::MultistateAggregateFunction
typedef utility::VirtualBase parent
 
typedef utility::vector1
< core::Real
StateEnergies
 
typedef utility::vector1
< core::Size
StateIndices
 
typedef
protocols::genetic_algorithm::Entity 
Entity
 
- Protected Member Functions inherited from protocols::pack_daemon::DynamicAggregateFunction
void count_file_reads ()
 
std::string get_file_contents (std::string const &filename)
 

Member Function Documentation

void protocols::pack_daemon::DynamicAggregateFunctionDriver::assign_jobs_to_local_daemon_set ( std::list< int > const &  job_indices,
DaemonSetOP  daemon_set 
)
private
void protocols::pack_daemon::DynamicAggregateFunctionDriver::assign_jobs_to_remote_daemon_sets ( int  proc_id,
std::list< int > const &  job_indices 
)
private
void protocols::pack_daemon::DynamicAggregateFunctionDriver::distribute_jobs_to_remote_daemons ( DaemonSetOP  daemon_set)
private
void protocols::pack_daemon::DynamicAggregateFunctionDriver::initialize_daemon_with_all_states ( DaemonSetOP  daemon_set)
private
void protocols::pack_daemon::DynamicAggregateFunctionDriver::initialize_from_input_file ( DaemonSetOP  daemon_set,
std::istream &  input 
)
void protocols::pack_daemon::DynamicAggregateFunctionDriver::initialize_pack_daemons ( DaemonSetOP  daemon_set)
private

After the input stream has been read, assign the states to particular nodes and to the the pack daemon on this node.

References protocols::pack_daemon::DynamicAggregateFunction::count_file_reads(), distribute_jobs_to_remote_daemons(), and initialize_daemon_with_all_states().

Referenced by initialize_from_input_file().

void protocols::pack_daemon::DynamicAggregateFunctionDriver::send_error_message_to_remote_daemon_sets ( ) const
private
void protocols::pack_daemon::DynamicAggregateFunctionDriver::send_success_message_to_remote_daemon_set ( int  proc_id) const
private
bool protocols::pack_daemon::DynamicAggregateFunctionDriver::verify_remote_daemon_set_initialization_successful ( int  proc_id) const
private

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