![]() |
Rosetta
2019.12
|
Maintain a set of perturbers to be executed together. More...
#include <PerturberSet.hh>
Public Member Functions | |
PerturberSet () | |
Default constructor. More... | |
~PerturberSet () | |
Destructor. More... | |
std::string | get_name () const |
Return the name of this perturber. More... | |
void | perturb_subset (Pose const &pose, IndexList const &residues, ClosureProblemOP problem) |
Perturb the given residues. More... | |
void | perturb_subset_with_balance (Pose const &pose, IndexList const &residues, ClosureProblemOP problem) |
Perturb the given residues such that detailed balance is obeyed. More... | |
void | add (PerturberOP perturber) |
Add a new perturber to the set. Any default perturbers are removed. More... | |
void | clear () |
Remove all perturbers from this set. More... | |
void | mark_as_default () |
Indicate that the current set of perturbers is meant as some sort of default, and should be cleared if a new perturber is manually added. More... | |
void | get_perturber_names (utility::vector1< std::string > &names, std::string indent="") const |
Add the names of all the perturbers contained in this set to the given list. Indentation is used to indicate hierarchy. More... | |
![]() | |
void | perturb (Pose const &pose, ClosureProblemOP problem) |
Perturb all of the non-pivot residues. More... | |
void | perturb_with_balance (Pose const &pose, ClosureProblemOP problem) |
Perturb all of the non-pivot residues such that detailed balance is obeyed. More... | |
Private Attributes | |
utility::vector1< PerturberOP > | perturbers_ |
bool | is_default_ |
Maintain a set of perturbers to be executed together.
protocols::kinematic_closure::perturbers::PerturberSet::PerturberSet | ( | ) |
Default constructor.
|
default |
Destructor.
void protocols::kinematic_closure::perturbers::PerturberSet::add | ( | PerturberOP | perturber | ) |
Add a new perturber to the set. Any default perturbers are removed.
void protocols::kinematic_closure::perturbers::PerturberSet::clear | ( | ) |
Remove all perturbers from this set.
|
inlinevirtual |
Return the name of this perturber.
Implements protocols::kinematic_closure::perturbers::Perturber.
void protocols::kinematic_closure::perturbers::PerturberSet::get_perturber_names | ( | utility::vector1< std::string > & | names, |
std::string | indent = "" |
||
) | const |
Add the names of all the perturbers contained in this set to the given list. Indentation is used to indicate hierarchy.
void protocols::kinematic_closure::perturbers::PerturberSet::mark_as_default | ( | ) |
Indicate that the current set of perturbers is meant as some sort of default, and should be cleared if a new perturber is manually added.
|
virtual |
Perturb the given residues.
Implements protocols::kinematic_closure::perturbers::Perturber.
|
virtual |
Perturb the given residues such that detailed balance is obeyed.
If not reimplemented, this method will kill rosetta and complain that no balanced implementation of this algorithm exists.
Reimplemented from protocols::kinematic_closure::perturbers::Perturber.
|
private |
|
private |