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