IMP logo

IMP::core::SingletonRestraint Class Reference


Detailed Description

Applies a SingletonScore to a Particle.

This restraint stores a Particle.

See also:
SingletonRestraint
Inheritance diagram for IMP::core::SingletonRestraint:

Inheritance graph
[legend]

Public Member Functions

ContainersTemp get_input_containers () const
ParticlesTemp get_input_particles () const
ParticlesList get_interacting_particles () const
virtual bool get_is_incremental () const
virtual std::string get_type_name () const
virtual ::IMP::VersionInfo get_version_info () const
 SingletonRestraint (SingletonScore *ss, Particle *vt, std::string name="SingletonRestraint %1%")
 Create the restraint.
virtual double unprotected_evaluate (DerivativeAccumulator *accum) const
virtual double unprotected_incremental_evaluate (DerivativeAccumulator *accum) const

Friends

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

Constructor & Destructor Documentation

IMP::core::SingletonRestraint::SingletonRestraint ( SingletonScore ss,
Particle vt,
std::string  name = "SingletonRestraint %1%" 
)

Create the restraint.

This function takes the function to apply to the stored Singleton and the Singleton.


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

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