IMP
2.3.1
The Integrative Modeling Platform
|
#include <IMP/score_functor/Harmonic.h>
A DistanceScore that scores with a harmonic on the distance, centered at 0.
Definition at line 18 of file score_functor/Harmonic.h.
Public Member Functions | |
Harmonic (double k) | |
double | get_k () |
template<unsigned int D> | |
double | get_score (kernel::Model *, const base::Array< D, kernel::ParticleIndex > &, double distance) const |
template<unsigned int D> | |
DerivativePair | get_score_and_derivative (kernel::Model *m, const base::Array< D, kernel::ParticleIndex > &p, double distance) const |
void | set_k (double k) |
Public Member Functions inherited from IMP::score_functor::Score | |
kernel::ModelObjectsTemp | get_inputs (kernel::Model *m, const kernel::ParticleIndexes &pis) const |
template<unsigned int D> | |
bool | get_is_trivially_zero (kernel::Model *m, const base::Array< D, kernel::ParticleIndex > &p, double squared_distance) const |
template<unsigned int D> | |
double | get_maximum_range (kernel::Model *m, const base::Array< D, kernel::ParticleIndex > &p) const |
template<unsigned int D> | |
double | get_score (kernel::Model *m, const base::Array< D, kernel::ParticleIndex > &p, double distance) const |
Return the score at the passed feature size (eg distance). More... | |
template<unsigned int D> | |
DerivativePair | get_score_and_derivative (kernel::Model *m, const base::Array< D, kernel::ParticleIndex > &p, double distance) const |
Return the score and derivative at the passed feature size (eg distance). More... | |
void | show (std::ostream &) const |