IMP logo

IMP::core::BallMover Class Reference


Detailed Description

Modify a set of continuous variables by perturbing them within a ball.

The variables are perturbed within a ball of the given radius.

See also:
MonteCarlo
Inheritance diagram for IMP::core::BallMover:

Inheritance graph
[legend]

Public Member Functions

 BallMover (SingletonContainer *sc, Float radius)
 BallMover (SingletonContainer *sc, const FloatKeys &vars, Float radius)
Float get_radius () const
virtual std::string get_type_name () const
virtual ::IMP::VersionInfo get_version_info () const
void set_radius (Float radius)

Protected Member Functions

void generate_move (Float a)

Friends

template<class T >
void IMP::internal::unref (T *)

Constructor & Destructor Documentation

IMP::core::BallMover::BallMover ( SingletonContainer sc,
const FloatKeys &  vars,
Float  radius 
)

The attributes are perturbed within a ball whose dimensionality is given by the number of attributes and radius by the given value.

Parameters:
[in] sc The set of particles to perturb.
[in] vars The variables to use (normally the keys for x,y,z)
[in] radius The radius deviation to use.

IMP::core::BallMover::BallMover ( SingletonContainer sc,
Float  radius 
)

The x,y,z coordinates are perturbed within a ball.

Parameters:
[in] sc The set of particles to perturb.
[in] radius The radius deviation to use.


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

Generated on Mon Mar 8 23:08:54 2010 for IMP by doxygen 1.5.8