11 #ifndef IMPCONTAINER_CLOSE_PAIR_CONTAINER_H
12 #define IMPCONTAINER_CLOSE_PAIR_CONTAINER_H
14 #include <IMP/container/container_config.h>
15 #include <IMP/core/internal/CoreClosePairContainer.h>
18 IMPCONTAINER_BEGIN_NAMESPACE
67 #if defined(IMP_DOXYGEN) || defined(SWIG)
70 public core::internal::CoreClosePairContainer
73 typedef core::internal::CoreClosePairContainer P;
82 std::string name =
"ClosePairContainer%1%");
93 std::string name =
"ClosePairContainer%1%");
95 #if defined(SWIG) || defined(IMP_DOXYGEN)
106 void set_slack(
double s);
107 double get_slack()
const;
110 void do_before_evaluate();
136 IMPCONTAINER_END_NAMESPACE
virtual ParticleIndexes get_all_possible_indexes() const =0
Get contained particles.
A base class for algorithms to find spatial proximities.
double get_slack_estimate(const kernel::ParticlesTemp &ps, double upper_bound, double step, const kernel::RestraintsTemp &restraints, bool derivatives, Optimizer *opt, ClosePairContainer *cpc)
A shared container for Pairs.
virtual ParticleIndexPairs get_indexes() const =0
Return all close unordered pairs of particles taken from the SingletonContainer.
Import IMP/kernel/Optimizer.h in the namespace.
virtual ParticleIndexPairs get_range_indexes() const =0
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Abstract predicate function.
IMP::base::Vector< IMP::base::Pointer< PairPredicate > > PairPredicates
Base class for all optimizers.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
virtual ModelObjectsTemp do_get_inputs() const =0
#define IMP_LIST(protection, Ucname, lcname, Data, PluralData)
A macro to provide a uniform interface for storing lists of objects.
A base class for modifiers of ParticlePairsTemp.