11 #ifndef IMPSCORE_FUNCTOR_SINGLETON_STATISTICAL_H
12 #define IMPSCORE_FUNCTOR_SINGLETON_STATISTICAL_H
14 #include <IMP/score_functor/score_functor_config.h>
16 #include "internal/SASTable.h"
18 IMPSCOREFUNCTOR_BEGIN_NAMESPACE
48 template <
class Key,
bool INTERPOLATE>
50 typedef internal::SASTable<INTERPOLATE> Table;
56 get_data_path(
"soap_score_sas.lib"))
57 : table_(
new Table(data_file, Key())), key_(k) {}
62 if (table_index == -1)
return 0;
63 return table_->get_score(table_index, area);
67 IMPSCOREFUNCTOR_END_NAMESPACE
A nullptr-initialized pointer to an IMP Object.
Type get_attribute(TypeKey attribute_key, ParticleIndex particle)
Class for storing model, its restraints, constraints, and particles.