10 #ifndef IMPKERNEL_SCORING_FUNCTION_H
11 #define IMPKERNEL_SCORING_FUNCTION_H
13 #include <IMP/kernel/kernel_config.h>
16 #include <boost/tuple/tuple.hpp>
19 IMPKERNEL_BEGIN_NAMESPACE
22 inline void ScoringFunction::ensure_dependencies() {
24 if (get_model() && !get_model()->get_has_dependencies()) {
25 get_model()->compute_dependencies();
28 "Dependencies are still bad...");
31 ensure_dependencies();
36 IMPKERNEL_END_NAMESPACE