![]() |
Rosetta Protocols
2014.35
|
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 | 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.
References is_default_.
protocols::kinematic_closure::perturbers::PerturberSet::~PerturberSet | ( | ) |
Destructor.
void protocols::kinematic_closure::perturbers::PerturberSet::add | ( | PerturberOP | perturber | ) |
Add a new perturber to the set. Any default perturbers are removed.
References clear(), is_default_, and perturbers_.
Referenced by protocols::kinematic_closure::BalancedKicMover::BalancedKicMover(), and protocols::kinematic_closure::KicMover::KicMover().
void protocols::kinematic_closure::perturbers::PerturberSet::clear | ( | ) |
|
inlinevirtual |
Return the name of this perturber.
Implements protocols::kinematic_closure::perturbers::Perturber.
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.
References is_default_.
|
virtual |
Perturb the given residues.
Implements protocols::kinematic_closure::perturbers::Perturber.
References perturbers_.
|
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.
References perturbers_.
|
private |
Referenced by add(), mark_as_default(), and PerturberSet().
|
private |
Referenced by add(), clear(), perturb_subset(), and perturb_subset_with_balance().