IMP logo
Public Member Functions | Static Public Member Functions
IMP::core::RigidBodyMover Class Reference

Detailed Description

Modify the transformation of a rigid body.

The transformation of a rigid body is moved in a ball of given size. The probability distribution is uniform over the ball.

See also:
MonteCarlo

Examples: dock with crosslinks

+ Inheritance diagram for IMP::core::RigidBodyMover:

List of all members.

Public Member Functions

 RigidBodyMover (RigidBody d, Float max_translation, Float max_rotation)
Float get_maximum_rotation () const
Float get_maximum_translation () const
void set_maximum_rotation (Float mr)
void set_maximum_translation (Float mt)
- Public Member Functions inherited from IMP::core::Mover
 Mover (Model *m, std::string name)
Optimizerget_optimizer () const
 Get a pointer to the optimizer which has this mover.
virtual ParticlesTemp get_output_particles () const =0
 Return the set of particles over which moves can be proposed.
virtual ParticlesTemp propose_move (Float size)=0
 propose a modification
virtual void reset_move ()=0
 Roll back any changes made to the Particles.
- Public Member Functions inherited from IMP::ModelObject
 ModelObject (Model *m, std::string name)
ModelObjectsTemp get_inputs () const
Modelget_model () const
ModelObjectsTemp get_outputs () const
- 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 RigidBodyMoverget_from (IMP::base::Object *o)

Constructor & Destructor Documentation

IMP::core::RigidBodyMover::RigidBodyMover ( RigidBody  d,
Float  max_translation,
Float  max_rotation 
)

The rigid body is rotated and translated to move

Parameters:
[in]dthe rigid body decorator
[in]max_translationmaximum translation during a step
[in]max_rotationmaximum rotation angle in radians

The documentation for this class was generated from the following file:

Generated on Tue May 22 2012 23:33:31 for IMP by doxygen 1.8.1