IMP  2.1.0
The Integrative Modeling Platform
IMP::score_functor::LinearLowerBound Class Reference

#include <IMP/score_functor/LinearLowerBound.h>

+ Inheritance diagram for IMP::score_functor::LinearLowerBound:

Public Member Functions

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

Detailed Description

A DistanceScore that scores with a linear function on distances below 0.

Note
a positive k results in repulsion

Definition at line 20 of file LinearLowerBound.h.


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