9 #ifndef IMPKERNEL_DECLARE_RESTRAINT_SET_H
10 #define IMPKERNEL_DECLARE_RESTRAINT_SET_H
12 #include <IMP/kernel/kernel_config.h>
18 IMPKERNEL_BEGIN_NAMESPACE
42 void show_it(std::ostream &out)
const;
46 const std::string& name=
"RestraintSet %1%");
49 const std::string& name=
"RestraintSet %1%");
53 const std::string& name=
"RestraintSet %1%");
56 RestraintSet(
const std::string& name=
"RestraintSet %1%");
60 const std::string& name=
"RestraintSet %1%");
65 Restraint::set_model(
nullptr));
74 on_add(obj), on_change(),
75 if (container) on_remove(container, obj));
79 std::pair<RestraintsTemp, RestraintSetsTemp> get_non_sets_and_sets()
const;
85 = std::numeric_limits<double>::max())
89 #if !defined(IMP_DOXYGEN) && !defined(SWIG)
90 void set_model(
Model *m);
107 IMPKERNEL_END_NAMESPACE