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
22 template <
class Score,
class Container>
24 std::string name = std::string()) {
25 return IMP::internal::create_container_restraint(s, c, name);
30 template <
class Container,
class Before,
class After>
32 std::string name = std::string()) {
33 return IMP::internal::create_container_constraint(c, b, a, name);
40 template <
class Container>
47 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())