IMP Reference Guide
2.9.0
The Integrative Modeling Platform
|
A functor for computing a distance based score for two particles. More...
#include <IMP/score_functor/Score.h>
A functor for computing a distance based score for two particles.
Public Member Functions | |
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). More... | |
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). More... | |
void | show (std::ostream &) const |
ModelObjectsTemp IMP::score_functor::Score::get_inputs | ( | Model * | m, |
const ParticleIndexes & | pis | ||
) | const |
bool IMP::score_functor::Score::get_is_trivially_zero | ( | Model * | m, |
const Array< D, ParticleIndex > & | p, | ||
double | squared_distance | ||
) | const |
double IMP::score_functor::Score::get_maximum_range | ( | Model * | m, |
const Array< D, ParticleIndex > & | p | ||
) | const |
double IMP::score_functor::Score::get_score | ( | Model * | m, |
const Array< D, ParticleIndex > & | p, | ||
double | distance | ||
) | const |
Return the score at the passed feature size (eg distance).
The involved particle indexes are passed along.
DerivativePair IMP::score_functor::Score::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).
The derivative is for the feature decreasing.