8 #ifndef IMPCORE_GRID_CLOSE_PAIRS_FINDER_H
9 #define IMPCORE_GRID_CLOSE_PAIRS_FINDER_H
13 #include <IMP/core/core_config.h>
14 #include <cereal/access.hpp>
15 #include <cereal/types/base_class.hpp>
17 IMPCORE_BEGIN_NAMESPACE
24 friend class cereal::access;
25 template<
class Archive>
void serialize(Archive &ar) {
26 ar(cereal::base_class<ClosePairsFinder>(
this));
Helper macros for implementing IMP Objects.
A base class for algorithms to find spatial proximities.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
virtual ParticleIndexPairs get_close_pairs(Model *m, const ParticleIndexes &pc) const =0
return all close pairs among pc in model m
Class for storing model, its restraints, constraints, and particles.
#define IMP_OBJECT_SERIALIZE_DECL(Name)
Declare methods needed for serialization of Object pointers.
virtual ModelObjectsTemp do_get_inputs(Model *m, const ParticleIndexes &pis) const =0
Overload this method to specify the inputs.
Find all nearby pairs by testing all pairs.
A base class for algorithms to detect proximities.