8 #ifndef IMPSCORE_FUNCTOR_SCORE_H
9 #define IMPSCORE_FUNCTOR_SCORE_H
11 #include <IMP/score_functor/score_functor_config.h>
17 IMPSCOREFUNCTOR_BEGIN_NAMESPACE
31 template <
unsigned int D>
32 double get_score(
kernel::Model *m,
const kernel::ParticleIndexTuple<D> &p,
33 double distance)
const;
41 template <
unsigned int D>
44 double distance)
const;
52 template <
unsigned int D>
55 double squared_distance)
const {
63 template <
unsigned int D>
68 return std::numeric_limits<double>::infinity();
77 void show(std::ostream &)
const {}
80 IMPSCOREFUNCTOR_END_NAMESPACE
Import IMP/kernel/base_types.h in the namespace.
Import IMP/kernel/particle_index.h in the namespace.
ParticlesTemp get_particles(kernel::Model *m, const ParticleIndexes &ps)
bool get_is_trivially_zero(kernel::Model *m, const base::Array< D, kernel::ParticleIndex > &p, double squared_distance) const
#define IMP_UNUSED(variable)
kernel::ModelObjectsTemp get_inputs(kernel::Model *m, const kernel::ParticleIndexes &pis) const
A class to store an fixed array of same-typed values.
Various general useful macros for IMP.
std::pair< double, double > DerivativePair
A pair representing a function value with its first derivative.
double get_maximum_range(kernel::Model *m, const base::Array< D, kernel::ParticleIndex > &p) const
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
Class for storing model, its restraints, constraints, and particles.