IMP  2.1.0
The Integrative Modeling Platform
GridClosePairsFinder.h
Go to the documentation of this file.
1 /**
2  * \file IMP/core/GridClosePairsFinder.h
3  * \brief Use a hierarchy of grids to find close pairs.
4  *
5  * Copyright 2007-2013 IMP Inventors. All rights reserved.
6  */
7 
8 #ifndef IMPCORE_GRID_CLOSE_PAIRS_FINDER_H
9 #define IMPCORE_GRID_CLOSE_PAIRS_FINDER_H
10 
11 #include "ClosePairsFinder.h"
13 #include <IMP/base/object_macros.h>
14 #include <IMP/core/core_config.h>
15 
16 IMPCORE_BEGIN_NAMESPACE
17 
18 //! Find all nearby pairs by testing all pairs
19 /**
20  \see CloserPairsScoreState
21  */
22 class IMPCOREEXPORT GridClosePairsFinder : public ClosePairsFinder {
23  public:
25 #ifndef SWIG
27 #else
29  const kernel::ParticlesTemp &pc) const;
31  const kernel::ParticlesTemp &pca, const kernel::ParticlesTemp &pcb) const;
32 #endif
33  virtual IntPairs get_close_pairs(const algebra::BoundingBox3Ds &bbs) const
34  IMP_OVERRIDE;
36  const algebra::BoundingBox3Ds &bbs) const
37  IMP_OVERRIDE;
39  kernel::Model *m, const kernel::ParticleIndexes &pc) const IMP_OVERRIDE;
42  const kernel::ParticleIndexes &pcb) const IMP_OVERRIDE;
44  kernel::Model *m, const kernel::ParticleIndexes &pis) const IMP_OVERRIDE;
45 
47 };
48 
49 IMPCORE_END_NAMESPACE
50 
51 #endif /* IMPCORE_GRID_CLOSE_PAIRS_FINDER_H */
A base class for algorithms to find spatial proximities.
virtual ModelObjectsTemp do_get_inputs(kernel::Model *m, const ParticleIndexes &pis) const
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Find all nearby pairs by testing all pairs.
kernel::ParticlePairsTemp get_close_pairs(const kernel::ParticlesTemp &pc) const
Various important macros for implementing decorators.
A base class for algorithms to detect proximities.
Various general useful macros for IMP.
Class for storing model, its restraints, constraints, and particles.