IMP
2.0.1
The Integrative Modeling Platform
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
BoxSweepClosePairsFinder.h
Go to the documentation of this file.
1
/**
2
* \file IMP/core/BoxSweepClosePairsFinder.h
3
* \brief Test all pairs of particles to find close pairs.
4
*
5
* Copyright 2007-2013 IMP Inventors. All rights reserved.
6
*/
7
8
#ifndef IMPCORE_BOX_SWEEP_CLOSE_PAIRS_FINDER_H
9
#define IMPCORE_BOX_SWEEP_CLOSE_PAIRS_FINDER_H
10
11
#include <IMP/core/core_config.h>
12
#include "
ClosePairsFinder.h
"
13
#include "
close_pairs_finder_macros.h
"
14
15
16
IMPCORE_BEGIN_NAMESPACE
17
18
#if defined(IMP_DOXYGEN) || defined(IMP_CORE_USE_IMP_CGAL)
19
//! Find all nearby pairs by sweeping the bounding boxes
20
/** This method is much faster than the quadratic one when
21
there are are large sets of points.
22
23
\requires{class BoxSweepClosePairsFinder, CGAL}
24
\see IMP::container::ClosePairsScoreState
25
*/
26
class
IMPCOREEXPORT
BoxSweepClosePairsFinder
:
public
ClosePairsFinder
27
{
28
public
:
29
BoxSweepClosePairsFinder
();
30
31
IMP_CLOSE_PAIRS_FINDER
(
BoxSweepClosePairsFinder
);
32
};
33
#endif
/* IMP_USE_CGAL */
34
35
IMPCORE_END_NAMESPACE
36
37
38
#endif
/* IMPCORE_BOX_SWEEP_CLOSE_PAIRS_FINDER_H */