![]() |
Rosetta
2021.16
|
#include <DynamicAggregateFunction.hh>

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) |
|
private |
References protocols::pack_daemon::StructureFileNames::correspondence_file_name_, protocols::pack_daemon::DynamicAggregateFunction::file_inputs_for_job(), protocols::pack_daemon::DynamicAggregateFunction::get_file_contents(), protocols::pack_daemon::DynamicAggregateFunction::npd_variable_indices_for_state_begin(), protocols::pack_daemon::DynamicAggregateFunction::npd_variable_indices_for_state_end(), protocols::pack_daemon::StructureFileNames::pdb_name_, core::import_pose::pose_from_pdbstring(), and protocols::pack_daemon::StructureFileNames::resfile_name_.
Referenced by distribute_jobs_to_remote_daemons(), and initialize_daemon_with_all_states().
|
private |
References protocols::pack_daemon::add_daemon, protocols::pack_daemon::StructureFileNames::correspondence_file_name_, protocols::pack_daemon::DynamicAggregateFunction::file_inputs_for_job(), protocols::pack_daemon::DynamicAggregateFunction::get_file_contents(), protocols::pack_daemon::DynamicAggregateFunction::npd_variable_indices_for_state_begin(), protocols::pack_daemon::DynamicAggregateFunction::npd_variable_indices_for_state_end(), protocols::pack_daemon::DynamicAggregateFunction::num_npd_properties_for_state(), protocols::pack_daemon::StructureFileNames::pdb_name_, and protocols::pack_daemon::StructureFileNames::resfile_name_.
Referenced by distribute_jobs_to_remote_daemons().
|
private |
References assign_jobs_to_local_daemon_set(), assign_jobs_to_remote_daemon_sets(), protocols::pack_daemon::error_message, protocols::pack_daemon::DynamicAggregateFunction::num_states(), send_error_message_to_remote_daemon_sets(), send_success_message_to_remote_daemon_set(), core::id::to_string(), and verify_remote_daemon_set_initialization_successful().
Referenced by initialize_pack_daemons().
|
private |
References assign_jobs_to_local_daemon_set(), and protocols::pack_daemon::DynamicAggregateFunction::num_states().
Referenced by initialize_pack_daemons().
| void protocols::pack_daemon::DynamicAggregateFunctionDriver::initialize_from_input_file | ( | DaemonSetOP | daemon_set, |
| std::istream & | input | ||
| ) |
|
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().
|
private |
References protocols::pack_daemon::error_message.
Referenced by distribute_jobs_to_remote_daemons(), and initialize_from_input_file().
|
private |
References protocols::pack_daemon::success_message.
Referenced by distribute_jobs_to_remote_daemons().
|
private |
References protocols::pack_daemon::error_message, protocols::pack_daemon::success_message, and core::id::to_string().
Referenced by distribute_jobs_to_remote_daemons().
1.8.7