8 #ifndef IMPCONTAINER_CLOSE_PAIR_CONTAINER_H
9 #define IMPCONTAINER_CLOSE_PAIR_CONTAINER_H
11 #include <IMP/container/container_config.h>
12 #include "internal/ClosePairContainer.h"
15 IMPCONTAINER_BEGIN_NAMESPACE
65 #if defined(IMP_DOXYGEN) || defined(SWIG)
68 public internal::ClosePairContainer
71 typedef internal::ClosePairContainer P;
80 std::string name =
"ClosePairContainer%1%");
91 std::string name =
"ClosePairContainer%1%");
93 #if defined(SWIG) || defined(IMP_DOXYGEN)
104 void set_slack(
double s);
105 double get_slack()
const;
114 unsigned int get_number_of_update_calls()
const;
117 unsigned int get_number_of_full_rebuilds()
const;
120 unsigned int get_number_of_partial_rebuilds()
const;
123 virtual std::size_t do_get_contents_hash()
const IMP_OVERRIDE;
146 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 more IMP-like version of the std::vector.
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.