IMP  2.3.0
The Integrative Modeling Platform
IMP::score_functor::Shift< BaseDistanceScore > Class Template Reference

#include <IMP/score_functor/Shift.h>

Inherits BaseDistanceScore.

Detailed Description

template<class BaseDistanceScore>
class IMP::score_functor::Shift< BaseDistanceScore >

A shift the distance by subtracting x0 and pass it to the base class.

Definition at line 20 of file Shift.h.

Public Member Functions

 Shift (double x0, BaseDistanceScore base)
 
bool get_is_trivially_zero (kernel::Model *m, const kernel::ParticleIndexPair &pi, double squared_distance) const
 
template<unsigned int D>
double get_maximum_range (kernel::Model *m, const base::Array< D, kernel::ParticleIndex > &pi) const
 
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
 

The documentation for this class was generated from the following file: