IMP logo

IMP::DerivativeAccumulator Class Reference


Detailed Description

Class for adding derivatives from restraints to the model.

This class was created so that restraints can be weighted using a RestraintSet and that the derivatives would be scaled appropriately


Public Member Functions

 DerivativeAccumulator (const DerivativeAccumulator &copy, Float weight=1.0)
 The weight is multiplied by the new weight.
 DerivativeAccumulator (Float weight=1.0)
 the weight is one by default
Float operator() (const Float value) const
 Scale a value appropriately.

Member Function Documentation

Float IMP::DerivativeAccumulator::operator() ( const Float  value  )  const

Scale a value appropriately.

Parameters:
[in] value Value to add to the float attribute derivative.


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

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