9 #ifndef IMPKERNEL_RESTRAINT_SET_H
10 #define IMPKERNEL_RESTRAINT_SET_H
12 #include <IMP/kernel/kernel_config.h>
15 IMPKERNEL_BEGIN_NAMESPACE
17 #if !defined(IMP_DOXYGEN) && !defined(SWIG)
21 for (It c = b; c != e; ++c) {
25 get_restraints_internal(rs->restraints_begin(), rs->restraints_end(),
38 get_restraints_internal(b, e, ret);
39 std::sort(ret.begin(), ret.end());
40 ret.erase(std::unique(ret.begin(), ret.end()), ret.end());
44 IMPKERNEL_END_NAMESPACE
Used to hold a set of related restraints.
IMP::base::Vector< IMP::base::WeakPointer< Restraint > > RestraintsTemp
kernel::RestraintsTemp get_restraints(const Subset &s, const ParticleStatesTable *pst, const DependencyGraph &dg, kernel::RestraintSet *rs)
IMP::kernel::Restraint Restraint
IMP::kernel::RestraintSet RestraintSet