IMP  2.4.0
The Integrative Modeling Platform
Public Member Functions | List of all members
IMP::score_functor::AddScores< BaseDistanceScore0, BaseDistanceScore1 > Class Template Reference

#include <IMP/score_functor/AddScores.h>

+ Inheritance diagram for IMP::score_functor::AddScores< BaseDistanceScore0, BaseDistanceScore1 >:

Detailed Description

template<class BaseDistanceScore0, class BaseDistanceScore1>
class IMP::score_functor::AddScores< BaseDistanceScore0, BaseDistanceScore1 >

Apply two different scores and return the sum of the results.

Examples:
atom/dope_and_excluded_volume.cpp.

Definition at line 18 of file AddScores.h.

Public Member Functions

 AddScores (BaseDistanceScore0 p0, BaseDistanceScore1 p1)
 
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
 Return an upper bound on the distance at which the score can be non-zero. More...
 
template<unsigned int D>
double get_score (kernel::Model *m, const base::Array< D, kernel::ParticleIndex > &pi, double distance) const
 
template<unsigned int D>
DerivativePair get_score_and_derivative (kernel::Model *m, const base::Array< D, kernel::ParticleIndex > &p, double distance) const
 
void show (std::ostream &out) 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 base::Array< D, kernel::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 (kernel::Model *m, const base::Array< D, kernel::ParticleIndex > &p, double distance) const
 Return the score and derivative at the passed feature size (eg distance). More...
 
void show (std::ostream &) const
 

Member Function Documentation

template<class BaseDistanceScore0 , class BaseDistanceScore1 >
template<unsigned int D>
double IMP::score_functor::AddScores< BaseDistanceScore0, BaseDistanceScore1 >::get_maximum_range ( kernel::Model m,
const base::Array< D, kernel::ParticleIndex > &  p 
) const

Return an upper bound on the distance at which the score can be non-zero.

Definition at line 49 of file AddScores.h.


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