IMP
2.3.1
The Integrative Modeling Platform
|
#include <IMP/score_functor/WeightScore.h>
Inherits BaseDistanceScore.
A shift the distance by subtracting x0 and pass it to the base class.
Definition at line 18 of file WeightScore.h.
Public Member Functions | |
WeightScore (double w, BaseDistanceScore base) | |
template<unsigned int D> | |
double | get_score (kernel::Model *m, const base::Array< D, kernel::ParticleIndex > &pi, 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 |