8#ifndef IMPSCORE_FUNCTOR_DOPE_H
9#define IMPSCORE_FUNCTOR_DOPE_H
11#include <IMP/score_functor/score_functor_config.h>
16IMPSCOREFUNCTOR_BEGIN_NAMESPACE
36 Dope(
double threshold = std::numeric_limits<double>::max())
37 : P(get_dope_type_key(), threshold,
get_data_path(
"dope_score.lib")) {}
38 Dope(
double threshold,
TextInput data_file)
39 : P(get_dope_type_key(), threshold, data_file) {}
40 static IntKey get_dope_type_key() {
41 static const IntKey ik(
"dope atom type");
46IMPSCOREFUNCTOR_END_NAMESPACE
A Score on the distance between a pair of particles.
A Score on the distance between a pair of particles.
Functions to deal with very common math operations.
Statistical(IntKey k, double threshold, TextInput data_file)
Handling of file input/output.
IMP::Vector< DopeType > DopeTypes
Key< 6453462 > DopeType
The type of atoms for Dope.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
Key< 1 > IntKey
The type used to identify int attributes in the Particles.
#define IMP_VALUES(Name, PluralName)
Define the type for storing sets of values.