8 #ifndef IMPCORE_CLOSE_PAIRS_PAIR_SCORE_H
9 #define IMPCORE_CLOSE_PAIRS_PAIR_SCORE_H
11 #include <IMP/core/core_config.h>
19 #include <IMP/kernel/internal/container_helpers.h>
21 IMPCORE_BEGIN_NAMESPACE
35 mutable double last_distance_;
47 return IMP::internal::get_particle(
93 return IMP::internal::get_particle(
113 IMPCORE_END_NAMESPACE
Class for adding derivatives from restraints to the model.
virtual double evaluate_if_good_index(kernel::Model *m, const kernel::ParticleIndexPair &vt, DerivativeAccumulator *da, double max) const
Compute the score and the derivative if needed.
Ints get_index(const kernel::ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
A smart pointer to a ref-counted Object that is a class member.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Import IMP/kernel/UnaryFunction.h in the namespace.
#define IMP_PAIR_SCORE_METHODS(Name)
virtual double evaluate_index(kernel::Model *m, const kernel::ParticleIndexPair &vt, DerivativeAccumulator *da) const
Compute the score and the derivative if needed.
Restraints create_current_decomposition(kernel::Model *m, const kernel::ParticleIndexPair &vt) const
A class to store an fixed array of same-typed values.
Abstract class for scoring object(s) of type ParticlePair.
Import IMP/kernel/Refiner.h in the namespace.
virtual ModelObjectsTemp do_get_inputs(kernel::Model *m, const ParticleIndexes &pis) const
Import IMP/kernel/PairScore.h in the namespace.
A nullptr-initialized pointer to an IMP Object.
Handle rigid bodies by looking at their members.
double Float
Basic floating-point value (could be float, double...)
Abstract class to implement hierarchical methods.
Decorator for a sphere-like particle.
#define IMP_OVERRIDE
Cause a compile error if this method does not override a parent method.
Class for storing model, its restraints, constraints, and particles.