9 #ifndef IMPCORE_INCREMENTAL_SCORING_FUNCTION_H
10 #define IMPCORE_INCREMENTAL_SCORING_FUNCTION_H
12 #include <IMP/core/core_config.h>
13 #include "internal/SingleParticleScoringFunction.h"
20 IMPCORE_BEGIN_NAMESPACE
22 #if !defined(IMP_DOXYGEN) && !defined(SWIG)
49 Floats flattened_restraints_scores_;
53 struct Wrapper:
public
58 void create_flattened_restraints(
const RestraintsTemp &rs);
59 void create_scoring_functions();
60 void do_non_incremental_evaluate();
74 const RestraintsTemp &rs,
75 double weight=1.0,
double max=
NO_MAX,
76 std::string name=
"IncrementalScoringFunction%1%");
81 void reset_moved_particles();
86 void add_close_pair_score(
PairScore *ps,
double distance,
87 const ParticlesTemp &particles,
89 void add_close_pair_score(
PairScore *ps,
double distance,
90 const ParticlesTemp &particles);
91 void clear_close_pair_scores();
94 const ScoreStatesTemp &ss) IMP_OVERRIDE;
101 IMPCORE_END_NAMESPACE