8#ifndef IMPSCORE_FUNCTOR_LOOP_STATISTICAL_H
9#define IMPSCORE_FUNCTOR_LOOP_STATISTICAL_H
11#include <IMP/score_functor/score_functor_config.h>
16IMPSCOREFUNCTOR_BEGIN_NAMESPACE
18class LoopStatisticalType;
37class LoopStatistical :
public Statistical<LoopStatisticalType, false, true> {
41 LoopStatistical(
double threshold = std::numeric_limits<double>::max())
42 : P(get_loop_type_key(), threshold,
get_data_path(
"melo_score.lib")) {}
43 LoopStatistical(
double threshold,
TextInput data_file)
44 : P(get_loop_type_key(), threshold, data_file) {}
45 static IntKey get_loop_type_key() {
46 static const IntKey ik(
"loop statistical atom type");
51IMPSCOREFUNCTOR_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< LoopStatisticalType > LoopStatisticalTypes
Key< 6453472 > LoopStatisticalType
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.