IMP  2.4.0
The Integrative Modeling Platform
Public Member Functions | List of all members
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:

Detailed Description

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.

See Also
IMP::container::ClosePairsScoreState

Definition at line 24 of file BoxSweepClosePairsFinder.h.

Public Member Functions

virtual kernel::ModelObjectsTemp do_get_inputs (kernel::Model *m, const kernel::ParticleIndexes &pis) const
 
virtual IntPairs get_close_pairs (const algebra::BoundingBox3Ds &bbs) const
 
virtual IntPairs get_close_pairs (const algebra::BoundingBox3Ds &bas, const algebra::BoundingBox3Ds &bbs) const
 
virtual kernel::ParticleIndexPairs get_close_pairs (kernel::Model *m, const kernel::ParticleIndexes &pc) const
 
virtual kernel::ParticleIndexPairs get_close_pairs (kernel::Model *m, const kernel::ParticleIndexes &pca, const kernel::ParticleIndexes &pcb) const
 
virtual std::string get_type_name () const
 
virtual ::IMP::base::VersionInfo get_version_info () const
 Get information about the module and version of the object. More...
 
- Public Member Functions inherited from IMP::core::ClosePairsFinder
 ClosePairsFinder (std::string name)
 
kernel::ParticlePairsTemp get_close_pairs (const kernel::ParticlesTemp &pc) const
 
kernel::ParticlePairsTemp get_close_pairs (const kernel::ParticlesTemp &pca, const kernel::ParticlesTemp &pcb) const
 
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)
 
- Public Member Functions inherited from IMP::kernel::ParticleInputs
virtual ContainersTemp get_input_containers (Particle *p) const
 
virtual ParticlesTemp get_input_particles (Particle *p) const
 
ModelObjectsTemp get_inputs (kernel::Model *m, const ParticleIndexes &pis) const
 
- Public Member Functions inherited from IMP::base::Object
virtual void clear_caches ()
 
CheckLevel get_check_level () const
 
LogLevel get_log_level () const
 
void set_check_level (CheckLevel l)
 
void set_log_level (LogLevel l)
 Set the logging level used in this object. More...
 
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)
 

Additional Inherited Members

- Protected Member Functions inherited from IMP::base::Object
 Object (std::string name)
 Construct an object with the given name. More...
 
virtual void do_destroy ()
 

Member Function Documentation

virtual kernel::ModelObjectsTemp IMP::core::BoxSweepClosePairsFinder::do_get_inputs ( kernel::Model m,
const kernel::ParticleIndexes pis 
) const
virtual

Overload this method to specify the inputs.

Reimplemented from IMP::kernel::ParticleInputs.

virtual ::IMP::base::VersionInfo IMP::core::BoxSweepClosePairsFinder::get_version_info ( ) const
virtual

Get information about the module and version of the object.

Reimplemented from IMP::base::Object.

Definition at line 48 of file BoxSweepClosePairsFinder.h.


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