#include <BALL/STRUCTURE/mutator.h>
Definition at line 12 of file mutator.h.
This enum is used in order to finetune the behaviour of the mutate method. Currently it only offers control over the automatic use of the optimizer after successfully mutating.
Definition at line 20 of file mutator.h.
virtual BALL::Mutator::~Mutator |
( |
| ) |
|
|
virtual |
virtual void BALL::Mutator::addMutation |
( |
Index |
i, |
|
|
const String & |
new_frag_name |
|
) |
| |
|
pure virtual |
Adds a mutation to the list of scheduled mutations. Note that it is usually not advisable to conduct too many changes on your structure, as with a growing number mutations results become more and more unreliable.
- Exceptions
-
NotInitialized | This exception is thrown whenever the Mutator needs further information. Usually the Molecule which to mutate needs to be supplied. |
Implemented in BALL::DNAMutator.
virtual void BALL::Mutator::clearMutations |
( |
| ) |
|
|
pure virtual |
void BALL::Mutator::freeDB_ |
( |
| ) |
|
|
private |
Apply the list of scheduled mutations.
- Note
- This will modify your original structure and most likely render iterators and pointers invalid.
virtual bool BALL::Mutator::optimize |
( |
| ) |
|
|
pure virtual |
Optimize the structure that was obtained during minimization
Implemented in BALL::DNAMutator.
void BALL::Mutator::setFragmentDB |
( |
FragmentDB * |
db | ) |
|
virtual void BALL::Mutator::setup |
( |
| ) |
|
|
virtual |
Calling this method explicitly circumvents lazy loading of the FragmentDB. This method has no effect if mutate has already been called or if valid instances of the fragmentDB has been passed via the constructor.
- Warning
- If you called setup() and then set the FragmentDB to NULL via setFragmentDB() you will need to call setup() again in order to prevent lazy loading.
Reimplemented in BALL::DNAMutator.
bool BALL::Mutator::keep_db_ |
|
private |