9 #ifndef IMPKERNEL_SCORING_FUNCTION_MACROS_H
10 #define IMPKERNEL_SCORING_FUNCTION_MACROS_H
11 #include <IMP/kernel/kernel_config.h>
17 #define IMP_SCORING_FUNCTION(Name) \
18 IMPKERNEL_DEPRECATED_MACRO(2.1, "Declare the needed methods yourself"); \
19 void do_add_score_and_derivatives(IMP::kernel::ScoreAccumulator sa, \
20 const ScoreStatesTemp &ss) IMP_OVERRIDE; \
21 Restraints create_restraints() const IMP_OVERRIDE; \
22 ScoreStatesTemp get_required_score_states() const IMP_OVERRIDE; \
23 IMP_OBJECT_METHODS(Name)
Various general useful macros for IMP.
Storage of a model, its restraints, constraints and particles.
Various general useful macros for IMP.