10 #ifndef IMPCORE_RESTRAINTS_SCORING_FUNCTION_H
11 #define IMPCORE_RESTRAINTS_SCORING_FUNCTION_H
13 #include <IMP/core/core_config.h>
16 #include <IMP/kernel/internal/RestraintsScoringFunction.h>
18 IMPCORE_BEGIN_NAMESPACE
23 #if defined(IMP_DOXYGEN) || defined(SWIG)
26 public IMP::kernel::internal::RestraintsScoringFunction
32 std::string name =
"RestraintsScoringFunction%1%")
33 : kernel::internal::RestraintsScoringFunction(rs, weight, max, name) {}
36 : kernel::internal::RestraintsScoringFunction(rs, 1.0,
kernel::NO_MAX,
const double NO_MAX
Use this value when you want to turn off maximum for restraint evaluation.
kernel::Restraints create_restraints(RMF::FileConstHandle fh, kernel::Model *m)
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Represents a scoring function on the model.
Abstract base class for all restraints.
Storage of a model, its restraints, constraints and particles.
Class for adding up scores during ScoringFunction evaluation.
#define IMP_OVERRIDE
Cause a compile error if this method does not override a parent method.