IMP  2.2.1
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-2014 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"
12 #include <IMP/base/object_macros.h>
13 #include <IMP/core/core_config.h>
14 
15 IMPCORE_BEGIN_NAMESPACE
16 
17 //! Find all nearby pairs by testing all pairs
18 /**
19  \see CloserPairsScoreState
20  */
21 class IMPCOREEXPORT GridClosePairsFinder : public ClosePairsFinder {
22  public:
24 #ifndef SWIG
26 #else
28  const;
30  const kernel::ParticlesTemp &pca, const kernel::ParticlesTemp &pcb) const;
31 #endif
32  virtual IntPairs get_close_pairs(const algebra::BoundingBox3Ds &bbs) const
33  IMP_OVERRIDE;
35  const algebra::BoundingBox3Ds &bbs) const
36  IMP_OVERRIDE;
38  kernel::Model *m, const kernel::ParticleIndexes &pc) const IMP_OVERRIDE;
41  const kernel::ParticleIndexes &pcb) const IMP_OVERRIDE;
43  kernel::Model *m, const kernel::ParticleIndexes &pis) const IMP_OVERRIDE;
44 
46 };
47 
48 IMPCORE_END_NAMESPACE
49 
50 #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
A base class for algorithms to detect proximities.
Various general useful macros for IMP.
Class for storing model, its restraints, constraints, and particles.
Definition: kernel/Model.h:72