11 #ifndef IMPCONTAINER_IN_CONTAINER_TRIPLET_FILTER_H
12 #define IMPCONTAINER_IN_CONTAINER_TRIPLET_FILTER_H
14 #include <IMP/container/container_config.h>
17 #include <IMP/kernel/internal/container_helpers.h>
18 #include "internal/TripletContainerIndex.h"
23 IMPCONTAINER_BEGIN_NAMESPACE
37 std::string name =
"TripletFilter %1%");
39 std::string name =
"TripletFilter %1%");
42 return c_->get_contains(vt);
56 IMPCONTAINER_END_NAMESPACE
A shared container for Triplets.
A filter which returns true if a container containers the Triplet.
Import IMP/kernel/TripletContainer.h in the namespace.
Import IMP/kernel/triplet_macros.h in the namespace.
Import IMP/kernel/TripletPredicate.h in the namespace.
ParticlesTemp get_particles(kernel::Model *m, const ParticleIndexes &ps)
virtual int get_value_index(kernel::Model *m, const ParticleIndexTriplet &vt) const
Compute the predicate and the derivative if needed.
Abstract predicate function.
virtual kernel::ModelObjectsTemp do_get_inputs(kernel::Model *m, const kernel::ParticleIndexes &pi) const
Various general useful macros for IMP.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
#define IMP_TRIPLET_PREDICATE_METHODS(Name)
Define extra the functions needed for a TripletPredicate.
Various general useful macros for IMP.
Class for storing model, its restraints, constraints, and particles.