IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
IMP::score_functor::HarmonicLowerBound Class Reference

#include <IMP/score_functor/HarmonicLowerBound.h>

Inheritance diagram for IMP::score_functor::HarmonicLowerBound:

Detailed Description

A harmonic score on the negative directed distance between a pair of particles. The score equals zero for non-negative directed distances.

Examples
atom/dope_and_excluded_volume.cpp.

Definition at line 24 of file score_functor/HarmonicLowerBound.h.

Public Member Functions

 HarmonicLowerBound (double k)
template<unsigned int D>
bool get_is_trivially_zero (Model *, const Array< D, ParticleIndex > &, double squared_distance) const
double get_k () const
template<unsigned int D>
double get_maximum_range (Model *, const Array< D, ParticleIndex > &) const
template<unsigned int D>
double get_score (Model *, const Array< D, ParticleIndex > &, double distance) const
template<unsigned int D>
DerivativePair get_score_and_derivative (Model *m, const 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 Array< D, ParticleIndex > &p, double squared_distance) const
template<unsigned int D>
double get_maximum_range (Model *m, const Array< D, ParticleIndex > &p) const
template<unsigned int D>
double get_score (Model *m, const Array< D, ParticleIndex > &p, double distance) const
 Return the score at the passed feature size (eg distance).
template<unsigned int D>
DerivativePair get_score_and_derivative (Model *m, const Array< D, ParticleIndex > &p, double distance) const
 Return the score and derivative at the passed feature size (eg distance).
void show (std::ostream &) const

Constructor & Destructor Documentation

◆ HarmonicLowerBound() [1/2]

IMP::score_functor::HarmonicLowerBound::HarmonicLowerBound ( double k)

Definition at line 33 of file score_functor/HarmonicLowerBound.h.

◆ HarmonicLowerBound() [2/2]

IMP::score_functor::HarmonicLowerBound::HarmonicLowerBound ( )

Definition at line 34 of file score_functor/HarmonicLowerBound.h.

Member Function Documentation

◆ get_is_trivially_zero()

template<unsigned int D>
bool IMP::score_functor::HarmonicLowerBound::get_is_trivially_zero ( Model * ,
const Array< D, ParticleIndex > & ,
double squared_distance ) const

Definition at line 58 of file score_functor/HarmonicLowerBound.h.

◆ get_k()

double IMP::score_functor::HarmonicLowerBound::get_k ( ) const

Definition at line 36 of file score_functor/HarmonicLowerBound.h.

◆ get_maximum_range()

template<unsigned int D>
double IMP::score_functor::HarmonicLowerBound::get_maximum_range ( Model * ,
const Array< D, ParticleIndex > &  ) const

Definition at line 53 of file score_functor/HarmonicLowerBound.h.

◆ get_score()

template<unsigned int D>
double IMP::score_functor::HarmonicLowerBound::get_score ( Model * ,
const Array< D, ParticleIndex > & ,
double distance ) const

Definition at line 39 of file score_functor/HarmonicLowerBound.h.

◆ get_score_and_derivative()

template<unsigned int D>
DerivativePair IMP::score_functor::HarmonicLowerBound::get_score_and_derivative ( Model * m,
const Array< D, ParticleIndex > & p,
double distance ) const

Definition at line 46 of file score_functor/HarmonicLowerBound.h.


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