IMP  2.2.1
The Integrative Modeling Platform
IMP::score_functor::SphereDistance< BaseDistanceScore > Class Template Reference

#include <IMP/score_functor/SphereDistance.h>

Inherits BaseDistanceScore.

Public Member Functions

 SphereDistance (BaseDistanceScore base)
 
bool get_is_trivially_zero (kernel::Model *m, const kernel::ParticleIndexPair &pi, double squared_distance) const
 
double get_maximum_range (kernel::Model *m, const kernel::ParticleIndexPair &pi) const
 
double get_score (kernel::Model *m, const kernel::ParticleIndexPair &pi, double distance) const
 
DerivativePair get_score_and_derivative (kernel::Model *m, const kernel::ParticleIndexPair &pi, double distance) const
 

Detailed Description

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

Transform the center distance to the sphere distance and pass it off to BaseDistanceScore.

Examples:
atom/dope_and_excluded_volume.cpp.

Definition at line 21 of file SphereDistance.h.


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