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;
116 unsigned int get_number_of_update_calls()
const;
119 unsigned int get_number_of_full_rebuilds()
const;
122 unsigned int get_number_of_partial_rebuilds()
const;
125 virtual std::size_t do_get_contents_hash()
const IMP_OVERRIDE;
148 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)
virtual kernel::ParticleIndexPairs get_indexes() const =0
A shared container for Pairs.
Return all close unordered pairs of particles taken from the SingletonContainer.
Import IMP/kernel/Optimizer.h in the namespace.
virtual kernel::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 kernel::ParticlePairsTemp.