IMP logo

IMP::core::ConstantRestraint Class Reference


Detailed Description

Return a constant value.

This restraint is mostly for testing, but can also be used to make the total score look nicer.

Inheritance diagram for IMP::core::ConstantRestraint:

Inheritance graph
[legend]

Public Member Functions

 ConstantRestraint (Float v)
 Add v to the total score.
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
virtual double unprotected_evaluate (DerivativeAccumulator *accum) const

Friends

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

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