IMP  2.0.0
The Integrative Modeling Platform
IMP::score_functor::WeightScore< BaseDistanceScore > Class Template Reference

#include <IMP/score_functor/WeightScore.h>

Inherits BaseDistanceScore.

Public Member Functions

 WeightScore (double w, BaseDistanceScore base)
 
template<unsigned int D>
double get_score (Model *m, const base::Array< D, ParticleIndex > &pi, double distance) const
 
template<unsigned int D>
DerivativePair get_score_and_derivative (Model *m, const base::Array< D, ParticleIndex > &p, double distance) const
 

Detailed Description

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

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

Definition at line 19 of file WeightScore.h.


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