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

#include <IMP/score_functor/UnaryFunctionEvaluate.h>

Inheritance diagram for IMP::score_functor::UnaryFunctionEvaluate:

Detailed Description

A DistanceScore that uses a UnaryFunction.

Definition at line 21 of file UnaryFunctionEvaluate.h.

Public Member Functions

 UnaryFunctionEvaluate (IMP::UnaryFunction *uf)
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 *, const Array< D, ParticleIndex > &, double distance) const
IMP::UnaryFunction * get_unary_function () 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

◆ UnaryFunctionEvaluate() [1/2]

IMP::score_functor::UnaryFunctionEvaluate::UnaryFunctionEvaluate ( IMP::UnaryFunction * uf)

Definition at line 31 of file UnaryFunctionEvaluate.h.

◆ UnaryFunctionEvaluate() [2/2]

IMP::score_functor::UnaryFunctionEvaluate::UnaryFunctionEvaluate ( )

Definition at line 32 of file UnaryFunctionEvaluate.h.

Member Function Documentation

◆ get_score()

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

Definition at line 37 of file UnaryFunctionEvaluate.h.

◆ get_score_and_derivative()

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

Definition at line 43 of file UnaryFunctionEvaluate.h.

◆ get_unary_function()

IMP::UnaryFunction * IMP::score_functor::UnaryFunctionEvaluate::get_unary_function ( ) const

Definition at line 34 of file UnaryFunctionEvaluate.h.


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