Find all nearby pairs by sweeping the bounding boxes.
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.
Inheritance diagram for IMP::core::BoxSweepClosePairsFinder:Static Public Member Functions | |
| static BoxSweepClosePairsFinder * | get_from (IMP::base::Object *o) |
Additional Inherited Members | |
Public Member Functions inherited from IMP::core::ClosePairsFinder | |
| ClosePairsFinder (std::string name) | |
| void | remove_pair_filter (PairPredicate *d) |
| template<class F > | |
| void | remove_pair_filters_if (const F &f) |
| template<class List > | |
| void | remove_pair_filters (List d) |
| template<class List > | |
| void | set_pair_filters (List ps) |
| template<class List > | |
| void | set_pair_filters_order (List ps) |
| unsigned int | add_pair_filter (PairPredicate *obj) |
| template<class List > | |
| void | add_pair_filters (List objs) |
| void | clear_pair_filters () |
| unsigned int | get_number_of_pair_filters () const |
| bool | get_has_pair_filters () const |
| PairPredicate * | get_pair_filter (unsigned int i) const |
| PairPredicates | get_pair_filters () const |
| void | reserve_pair_filters (unsigned int sz) |
| PairFilterIterator | pair_filters_begin () |
| PairFilterIterator | pair_filters_end () |
| PairFilterConstIterator | pair_filters_begin () const |
| PairFilterConstIterator | pair_filters_end () 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 |
| virtual ParticlesTemp | get_input_particles (const ParticlesTemp &ps) const =0 |
| virtual ContainersTemp | get_input_containers (const ParticlesTemp &ps) const =0 |
Public Member Functions inherited from IMP::base::Object | |
| std::size_t | __hash__ () const |
| virtual std::string | get_type_name () const =0 |
| Return a string identifying the type of the object. | |
| virtual IMP::base::VersionInfo | get_version_info () const =0 |
| Get information about the module and version of the object. | |
| void | set_check_level (CheckLevel l) |
| void | set_log_level (LogLevel l) |
| Set the logging level used in this object. | |
| void | set_was_used (bool tf) const |
| void | show (std::ostream &out=std::cout) const |
| const std::string & | get_name () const |
| void | set_name (std::string name) |