![]() |
Rosetta Protocols
2014.16.56682
|
#include <MultistateFitnessFunction.hh>
Protected Member Functions | |
| virtual void | compute_state_energies (Entity const &entity) |
| Override the base class implementation by broadcasting the entity to all slave nodes, and waiting for them to report the energies from their PackDaemons for that entity. If this node has PackDaemons, then it will evaluate their energies, too. More... | |
| virtual void | instruct_daemons_to_keep_last_entity () |
| Broadcast the instruction to DaemonSets on all other nodes to keep the entity that was just evaluated. More... | |
| virtual void | instruct_daemons_to_drop_entity (Entity const &entity) |
| Broadcast the instruction to DaemonSets on all other nodes to discard an old entity which had been previously held on to. More... | |
| virtual std::list< std::pair < Size, PoseOP > > | recover_poses_from_states (Entity const &, utility::vector1< core::Size > const &which_states) |
| Broadcast the entity and the set of states that correspond to a set of poses that are important. The entity had better still live on the distant nodes. More... | |
Protected Member Functions inherited from protocols::pack_daemon::MultistateFitnessFunction | |
| virtual core::Real | compute_aggregate_score (Entity const &entity) |
| utility::vector1< core::Real > & | state_energies () |
| utility::vector1< core::Real > & | npd_properties () |
| DaemonSetOP | daemon_set () |
| MultistateAggregateFunctionOP | aggregate_function () |
| Size | which_top_entity (Entity const &ent) const |
| void | update_entity_history (Entity const &ent) |
Private Member Functions | |
| void | broadcast_entity_string (Entity const &entity) |
Private Attributes | |
| Size | MPI_nprocs_ |
| protocols::pack_daemon::MPIMultistateFitnessFunction::MPIMultistateFitnessFunction | ( | ) |
References utility::mpi_nprocs(), and MPI_nprocs_.
|
virtual |
|
private |
|
protectedvirtual |
Override the base class implementation by broadcasting the entity to all slave nodes, and waiting for them to report the energies from their PackDaemons for that entity. If this node has PackDaemons, then it will evaluate their energies, too.
Reimplemented from protocols::pack_daemon::MultistateFitnessFunction.
References begin, broadcast_entity_string(), protocols::pack_daemon::MultistateFitnessFunction::daemon_set(), end, protocols::pack_daemon::evaluate_entity, MPI_nprocs_, protocols::pack_daemon::MultistateFitnessFunction::npd_properties(), receive_double_from_node(), utility::receive_double_from_node(), receive_integer_from_node(), send_integer_to_node(), and protocols::pack_daemon::MultistateFitnessFunction::state_energies().
|
protectedvirtual |
Broadcast the instruction to DaemonSets on all other nodes to discard an old entity which had been previously held on to.
Reimplemented from protocols::pack_daemon::MultistateFitnessFunction.
References broadcast_entity_string(), protocols::pack_daemon::MultistateFitnessFunction::daemon_set(), protocols::pack_daemon::discard_old_entity, MPI_nprocs_, and utility::send_integer_to_node().
|
protectedvirtual |
Broadcast the instruction to DaemonSets on all other nodes to keep the entity that was just evaluated.
Reimplemented from protocols::pack_daemon::MultistateFitnessFunction.
References protocols::pack_daemon::MultistateFitnessFunction::daemon_set(), protocols::pack_daemon::keep_rotamer_assignment_for_last_entity, MPI_nprocs_, and utility::send_integer_to_node().
|
protectedvirtual |
Broadcast the entity and the set of states that correspond to a set of poses that are important. The entity had better still live on the distant nodes.
Reimplemented from protocols::pack_daemon::MultistateFitnessFunction.
References broadcast_entity_string(), protocols::pack_daemon::MultistateFitnessFunction::daemon_set(), protocols::pack_daemon::geneate_pose_from_old_state, MPI_nprocs_, core::import_pose::pose_from_pdbstring(), utility::receive_integer_from_node(), utility::receive_string_from_node(), utility::send_integer_to_node(), utility::send_integers_to_node(), and utility::to_string().
| void protocols::pack_daemon::MPIMultistateFitnessFunction::send_spin_down_signal | ( | ) |
Spin down the other nodes. No entity evaluation may follow the spin down call.
References MPI_nprocs_, utility::send_integer_to_node(), and protocols::pack_daemon::spin_down.
| void protocols::pack_daemon::MPIMultistateFitnessFunction::set_num_npd_properties | ( | Size | n_npd_properties | ) |
Inform this MPIMultistateFitnessFunction how many non-pairwise decomposable properties will be computed for all states.
References protocols::pack_daemon::MultistateFitnessFunction::npd_properties().
| void protocols::pack_daemon::MPIMultistateFitnessFunction::set_num_pack_daemons | ( | Size | n_daemons | ) |
Inform this MPIMultistateFitnessFunction how many PackDaemons are running on all nodes (counting this one) which it may be unaware of.
References protocols::pack_daemon::MultistateFitnessFunction::state_energies().
|
private |
1.8.7