9 #ifndef IMPCONTAINER_GENERIC_H
10 #define IMPCONTAINER_GENERIC_H
12 #include <IMP/container/container_config.h>
13 #include <IMP/kernel/internal/ContainerRestraint.h>
14 #include <IMP/kernel/internal/ContainerConstraint.h>
17 IMPCONTAINER_BEGIN_NAMESPACE
25 template <
class Score,
class Container>
27 std::string name = std::string()) {
28 return IMP::internal::create_container_restraint(s, c, name);
33 template <
class Container,
class Before,
class After>
35 std::string name = std::string()) {
36 return IMP::internal::create_container_constraint(c, b, a, name);
43 template <
class Container>
50 IMPCONTAINER_END_NAMESPACE
A filter which returns true if a container containers the Pair.
Abstract class for containers of particles.
A restraint is a term in an IMP ScoringFunction.
Abstract predicate function.
PairPredicate * create_in_container_filter(Container *c, std::string name=std::string())
Implement a constraint on the Model.
Constraint * create_constraint(Before *b, After *a, Container *c, std::string name=std::string())
kernel::Restraint * create_restraint(Score *s, Container *c, std::string name=std::string())