IMP  2.0.1
The Integrative Modeling Platform
IMP::core::BoxSweepClosePairsFinder Class Reference

Find all nearby pairs by sweeping the bounding boxes. More...

#include <IMP/core/BoxSweepClosePairsFinder.h>

+ Inheritance diagram for IMP::core::BoxSweepClosePairsFinder:

Additional Inherited Members

- Public Member Functions inherited from IMP::core::ClosePairsFinder
 ClosePairsFinder (std::string name)
 
ContainersTemp get_input_containers (const ParticlesTemp &ps) const
 
ContainersTemp get_input_containers (Particle *p) const
 
ParticlesTemp get_input_particles (const ParticlesTemp &ps) const
 
ParticlesTemp get_input_particles (Particle *p) const
 
ModelObjectsTemp get_inputs (Model *m, const ParticleIndexes &pis) const
 
virtual ParticlePairsTemp get_close_pairs (const ParticlesTemp &pc) const =0
 
virtual ParticlePairsTemp get_close_pairs (const ParticlesTemp &pca, const ParticlesTemp &pcb) const =0
 
virtual ParticleIndexPairs get_close_pairs (Model *m, const ParticleIndexes &pc) const
 
virtual ParticleIndexPairs get_close_pairs (Model *m, const ParticleIndexes &pca, const ParticleIndexes &pcb) const
 
virtual IntPairs get_close_pairs (const algebra::BoundingBox3Ds &bbs) const =0
 
virtual IntPairs get_close_pairs (const algebra::BoundingBox3Ds &bas, const algebra::BoundingBox3Ds &bbs) const =0
 
virtual void set_distance (double d)
 
double get_distance () const
 
void remove_pair_filter (PairPredicate *d)
 
void remove_pair_filters (const PairPredicates &d)
 
void set_pair_filters (const PairPredicates &ps)
 
void set_pair_filters_order (const PairPredicates &objs)
 
unsigned int add_pair_filter (PairPredicate *obj)
 
void add_pair_filters (const PairPredicates &objs)
 
void clear_pair_filters ()
 
unsigned int get_number_of_pair_filters () const
 
bool get_has_pair_filters ()
 
PairPredicateget_pair_filter (unsigned int i) const
 
PairPredicates get_pair_filters () const
 
void reserve_pair_filters (unsigned int sz)
 
- Protected Member Functions inherited from IMP::core::ClosePairsFinder
virtual ModelObjectsTemp do_get_inputs (Model *m, const ParticleIndexes &pis) const =0
 

Detailed Description

This method is much faster than the quadratic one when there are are large sets of points.

The class BoxSweepClosePairsFinder requires CGAL in order to function.

See Also
IMP::container::ClosePairsScoreState

Definition at line 26 of file BoxSweepClosePairsFinder.h.


The documentation for this class was generated from the following file: