Removes rigid translation from the particles.
Recenters the bunch of particles by putting the very first particle at the origin and rigidly translating all the others.
Inheritance diagram for IMP::atom::RemoveTranslationOptimizerState:Public Member Functions | |
| RemoveTranslationOptimizerState (const Particles &pis, unsigned skip_steps) | |
| unsigned int | get_skip_steps () |
| Get the number of update calls to skip between removals. | |
| void | remove_translation () const |
| Remove translation now. | |
| void | set_particles (const Particles &pis) |
| Set the particles to use. | |
| void | set_skip_steps (unsigned skip_steps) |
| Set the number of update calls to skip between removals. | |
| virtual void | update () |
| Called when the Optimizer accepts a new conformation. | |
Public Member Functions inherited from IMP::OptimizerState | |
| OptimizerState (std::string name="OptimizerState %1%") | |
| Optimizer * | get_optimizer () const |
| virtual void | set_is_optimizing (bool) |
Public Member Functions inherited from IMP::base::Object | |
| std::size_t | __hash__ () const |
| virtual std::string | get_type_name () const =0 |
| Return a string identifying the type of the object. | |
| virtual IMP::base::VersionInfo | get_version_info () const =0 |
| Get information about the module and version of the object. | |
| void | set_check_level (CheckLevel l) |
| void | set_log_level (LogLevel l) |
| Set the logging level used in this object. | |
| void | set_was_used (bool tf) const |
| void | show (std::ostream &out=std::cout) const |
| const std::string & | get_name () const |
| void | set_name (std::string name) |
Static Public Member Functions | |
|
static RemoveTranslationOptimizerState * | get_from (IMP::base::Object *o) |
Additional Inherited Members | |
Protected Attributes inherited from IMP::OptimizerState | |
| UncheckedWeakPointer< Optimizer > | optimizer_ |
| unsigned int IMP::atom::RemoveTranslationOptimizerState::get_skip_steps | ( | ) |
Get the number of update calls to skip between removals.
| void IMP::atom::RemoveTranslationOptimizerState::remove_translation | ( | ) | const |
Remove translation now.
| void IMP::atom::RemoveTranslationOptimizerState::set_particles | ( | const Particles & | pis | ) |
Set the particles to use.
| void IMP::atom::RemoveTranslationOptimizerState::set_skip_steps | ( | unsigned | skip_steps | ) |
Set the number of update calls to skip between removals.
|
virtual |
Called when the Optimizer accepts a new conformation.
Implements IMP::OptimizerState.