IMP  2.0.1
The Integrative Modeling Platform
IMP::score_functor::Harmonic Class Reference

#include <IMP/score_functor/Harmonic.h>

+ Inheritance diagram for IMP::score_functor::Harmonic:

Public Member Functions

 Harmonic (double k)
 
template<unsigned int D>
double get_score (Model *, const base::Array< D, ParticleIndex > &, double distance) const
 
template<unsigned int D>
DerivativePair get_score_and_derivative (Model *m, const base::Array< D, ParticleIndex > &p, double distance) const
 
- Public Member Functions inherited from IMP::score_functor::Score
ModelObjectsTemp get_inputs (Model *m, const ParticleIndexes &pis) const
 
template<unsigned int D>
bool get_is_trivially_zero (Model *m, const base::Array< D, ParticleIndex > &p, double squared_distance) const
 
template<unsigned int D>
double get_maximum_range (Model *m, const base::Array< D, ParticleIndex > &p) const
 
template<unsigned int D>
double get_score (Model *m, const ParticleIndexTuple< D > &p, double distance) const
 
template<unsigned int D>
DerivativePair get_score_and_derivative (Model *m, const ParticleIndexTuple< D > &p, double distance) const
 
void show (std::ostream &) const
 

Detailed Description

A DistanceScore that scores with a harmonic on the distance, centered at 0.

Definition at line 19 of file score_functor/Harmonic.h.


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