9 #ifndef IMPCORE_RESTRAINTS_SCORING_FUNCTION_H
10 #define IMPCORE_RESTRAINTS_SCORING_FUNCTION_H
12 #include <IMP/core/core_config.h>
15 #include <IMP/internal/RestraintsScoringFunction.h>
17 IMPCORE_BEGIN_NAMESPACE
21 #if defined(IMP_DOXYGEN) || defined(SWIG)
24 public IMP::internal::RestraintsScoringFunction
29 double weight = 1.0,
double max =
NO_MAX,
30 std::string name =
"RestraintsScoringFunction%1%")
31 : IMP::internal::RestraintsScoringFunction(rs, weight, max, name) {}
34 : 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.
Create a scoring function on a list of restraints.
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.