8 #ifndef IMPCONTAINER_CLOSE_PAIR_CONTAINER_H
9 #define IMPCONTAINER_CLOSE_PAIR_CONTAINER_H
11 #include <IMP/container/container_config.h>
12 #include <IMP/core/internal/CoreClosePairContainer.h>
15 IMPCONTAINER_BEGIN_NAMESPACE
64 #if defined(IMP_DOXYGEN) || defined(SWIG)
67 public core::internal::CoreClosePairContainer
70 typedef core::internal::CoreClosePairContainer P;
79 std::string name =
"ClosePairContainer%1%");
90 std::string name =
"ClosePairContainer%1%");
92 #if defined(SWIG) || defined(IMP_DOXYGEN)
103 void set_slack(
double s);
104 double get_slack()
const;
113 unsigned int get_number_of_update_calls()
const;
116 unsigned int get_number_of_full_rebuilds()
const;
119 unsigned int get_number_of_partial_rebuilds()
const;
122 virtual std::size_t do_get_contents_hash()
const IMP_OVERRIDE;
145 IMPCONTAINER_END_NAMESPACE
virtual ParticleIndexPairs get_range_indexes() const =0
A shared container for Pairs.
A base class for algorithms to find spatial proximities.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
double get_slack_estimate(const ParticlesTemp &ps, double upper_bound, double step, const RestraintsTemp &restraints, bool derivatives, Optimizer *opt, ClosePairContainer *cpc)
Return all close unordered pairs of particles taken from the SingletonContainer.
Base class for all optimizers.
A base class for modifiers of ParticlePairsTemp.
#define IMP_LIST(protection, Ucname, lcname, Data, PluralData)
A macro to provide a uniform interface for storing lists of objects.
Base class for all optimizers.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing lists of object pointers.
virtual ParticleIndexes get_all_possible_indexes() const =0
Get contained particles.
Abstract predicate function.
virtual ParticleIndexPairs get_indexes() const =0
virtual ModelObjectsTemp do_get_inputs() const =0
#define IMP_OVERRIDE
Cause a compile error if this method does not override a parent method.