IMP logo

IMP::core::DiameterRestraint Class Reference


Detailed Description

Restrain the diameter of a set of points.

This class also serves as an example of how to build restraints which have internal ScoreStates and perhaps more than one actual restraint object.

Inheritance diagram for IMP::core::DiameterRestraint:

Inheritance graph
[legend]

Public Member Functions

 DiameterRestraint (UnaryFunction *f, SingletonContainer *sc, Float diameter)
 Use f to restraint sc to be withing diameter of one another.
ContainersTemp get_input_containers () const
ParticlesTemp get_input_particles () const
ParticlesList get_interacting_particles () const
virtual std::string get_type_name () const
virtual ::IMP::VersionInfo get_version_info () const
void set_model (Model *m)
virtual double unprotected_evaluate (DerivativeAccumulator *accum) const

Friends

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

Constructor & Destructor Documentation

IMP::core::DiameterRestraint::DiameterRestraint ( UnaryFunction f,
SingletonContainer sc,
Float  diameter 
)

Use f to restraint sc to be withing diameter of one another.

f should have a minimum at 0 and be an upper bound-style function.


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

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