IMP Reference Guide
2.22.0
The Integrative Modeling Platform
|
#include <IMP/score_functor/Shift.h>
Inherits BaseDistanceScore.
A shift the distance by subtracting x0 and pass it to the base class.
Public Member Functions | |
Shift (double x0, BaseDistanceScore base) | |
bool | get_is_trivially_zero (Model *m, const ParticleIndexPair &pi, double squared_distance) const |
template<unsigned int D> | |
double | get_maximum_range (Model *m, const Array< D, ParticleIndex > &pi) const |
template<unsigned int D> | |
double | get_score (Model *m, const Array< D, ParticleIndex > &pi, double distance) const |
template<unsigned int D> | |
DerivativePair | get_score_and_derivative (Model *m, const Array< D, ParticleIndex > &p, double distance) const |