8 #ifndef IMPATOM_BOND_SINGLETON_SCORE_H
9 #define IMPATOM_BOND_SINGLETON_SCORE_H
11 #include <IMP/atom/atom_config.h>
17 IMPATOM_BEGIN_NAMESPACE
Class for adding derivatives from restraints to the model.
A nullptr-initialized pointer to an IMP Object.
A smart pointer to a ref-counted Object that is a class memeber.
Import IMP/kernel/UnaryFunction.h in the namespace.
Abstract single variable functor class for score functions.
Contains decorators for a bond.
virtual double evaluate_index(kernel::Model *m, kernel::ParticleIndex vt, DerivativeAccumulator *da) const
Compute the score and the derivative if needed.
virtual ModelObjectsTemp do_get_inputs(kernel::Model *m, const ParticleIndexes &pis) const
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Score the bond based on a UnaryFunction,.
Import IMP/kernel/SingletonScore.h in the namespace.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
#define IMP_SINGLETON_SCORE_METHODS(Name)
Class for storing model, its restraints, constraints, and particles.