IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
IMP::core::GridClosePairsFinder Class Reference

Find all nearby pairs by testing all pairs. More...

#include <IMP/core/GridClosePairsFinder.h>

Inheritance diagram for IMP::core::GridClosePairsFinder:

Detailed Description

Find all nearby pairs by testing all pairs.

See also
container::ClosePairContainer

Definition at line 23 of file GridClosePairsFinder.h.

Public Member Functions

virtual ModelObjectsTemp do_get_inputs (Model *m, const ParticleIndexes &pis) const override
 Overload this method to specify the inputs.
virtual IntPairs get_close_pairs (const algebra::BoundingBox3Ds &bas, const algebra::BoundingBox3Ds &bbs) const override
virtual IntPairs get_close_pairs (const algebra::BoundingBox3Ds &bbs) const override
virtual ParticleIndexPairs get_close_pairs (Model *m, const ParticleIndexes &pc) const override
 return all close pairs among pc in model m
virtual ParticleIndexPairs get_close_pairs (Model *m, const ParticleIndexes &pca, const ParticleIndexes &pcb) const override
 return all close pairs among pc in model m
virtual std::string get_type_name () const override
virtual ::IMP::VersionInfo get_version_info () const override
 Get information about the module and version of the object.
Public Member Functions inherited from IMP::core::ClosePairsFinder
 ClosePairsFinder (std::string name)
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 ()
PairPredicate * get_pair_filter (unsigned int i) const
PairPredicates get_pair_filters () const
void erase_pair_filter (unsigned int i)
void reserve_pair_filters (unsigned int sz)
virtual void set_distance (double d)
double get_distance () const
Public Member Functions inherited from IMP::ParticleInputs
ModelObjectsTemp get_inputs (Model *m, const ParticleIndexes &pis) const
 Get the ModelObjects read when the given list of particles is used.
Public Member Functions inherited from IMP::Object
CheckLevel get_check_level () const
 get_derived_object (self)
 Return this object cast to the most derived subclass.
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.
const std::string & get_name () const
 Get the (not necessarily unique) name of this object.
void set_name (std::string name)
void set_was_used (bool tf) const
void show (std::ostream &out=std::cout) const
virtual void clear_caches ()

Additional Inherited Members

list pair_filters
 A Python list of PairFilters.
Protected Member Functions inherited from IMP::Object
 Object (std::string name)
 Construct an object with the given name.
virtual void do_destroy ()

Constructor & Destructor Documentation

◆ ~GridClosePairsFinder()

virtual IMP::core::GridClosePairsFinder::~GridClosePairsFinder ( )
virtual

Definition at line 44 of file GridClosePairsFinder.h.

Member Function Documentation

◆ do_get_inputs()

virtual ModelObjectsTemp IMP::core::GridClosePairsFinder::do_get_inputs ( Model * m,
const ParticleIndexes & pis ) const
overridevirtual

Overload this method to specify the inputs.

Implements IMP::ParticleInputs.

◆ get_close_pairs() [1/4]

virtual IntPairs IMP::core::GridClosePairsFinder::get_close_pairs ( const algebra::BoundingBox3Ds & bas,
const algebra::BoundingBox3Ds & bbs ) const
overridevirtual

◆ get_close_pairs() [2/4]

virtual IntPairs IMP::core::GridClosePairsFinder::get_close_pairs ( const algebra::BoundingBox3Ds & bbs) const
overridevirtual

◆ get_close_pairs() [3/4]

virtual ParticleIndexPairs IMP::core::GridClosePairsFinder::get_close_pairs ( Model * m,
const ParticleIndexes & pc ) const
overridevirtual

return all close pairs among pc in model m

Implements IMP::core::ClosePairsFinder.

◆ get_close_pairs() [4/4]

virtual ParticleIndexPairs IMP::core::GridClosePairsFinder::get_close_pairs ( Model * m,
const ParticleIndexes & pca,
const ParticleIndexes & pcb ) const
overridevirtual

return all close pairs among pc in model m

Implements IMP::core::ClosePairsFinder.

◆ get_type_name()

virtual std::string IMP::core::GridClosePairsFinder::get_type_name ( ) const
overridevirtual

Reimplemented from IMP::Object.

Definition at line 44 of file GridClosePairsFinder.h.

◆ get_version_info()

virtual ::IMP::VersionInfo IMP::core::GridClosePairsFinder::get_version_info ( ) const
overridevirtual

Get information about the module and version of the object.

Reimplemented from IMP::Object.

Definition at line 44 of file GridClosePairsFinder.h.


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