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 override;
146 IMPCONTAINER_DEPRECATED_METHOD_DECL(2.16)
147 IMPCONTAINEREXPORT
double get_slack_estimate(
152 IMPCONTAINER_END_NAMESPACE
virtual ParticleIndexPairs get_range_indexes() const =0
A shared container for Pairs.
double get_slack_estimate(Model *m, ParticleIndexes ps, double upper_bound, double step, const RestraintsTemp &restraints, bool derivatives, Optimizer *opt, ClosePairContainer *cpc)
A base class for algorithms to find spatial proximities.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
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.
Class for storing model, its restraints, constraints, and particles.
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