IMP Reference Guide
develop.63b38c487d,2024/12/21
The Integrative Modeling Platform
|
Find all nearby pairs by testing all pairs. More...
#include <IMP/core/QuadraticClosePairsFinder.h>
Find all nearby pairs by testing all pairs.
Definition at line 19 of file QuadraticClosePairsFinder.h.
Public Member Functions | |
virtual ModelObjectsTemp | do_get_inputs (Model *m, const ParticleIndexes &pis) const override |
Overload this method to specify the inputs. More... | |
bool | get_are_close_and_filtered (Particle *a, Particle *b) const |
bool | get_are_close_and_filtered (Model *m, ParticleIndex a, ParticleIndex b) const |
virtual IntPairs | get_close_pairs (const algebra::BoundingBox3Ds &bbs) const override |
virtual IntPairs | get_close_pairs (const algebra::BoundingBox3Ds &bas, 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 More... | |
virtual ParticleIndexPairs | get_close_pairs (Model *m, const ParticleIndexes &pca, const ParticleIndexes &pcb) const override |
return all close pairs among pc in model m More... | |
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. More... | |
Public Member Functions inherited from IMP::core::ClosePairsFinder | |
ClosePairsFinder (std::string name) | |
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 () |
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) |
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. More... | |
Public Member Functions inherited from IMP::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 | |
Public Attributes inherited from IMP::core::ClosePairsFinder | |
list | pair_filters |
A Python list of PairFilters More... | |
Protected Member Functions inherited from IMP::Object | |
Object (std::string name) | |
Construct an object with the given name. More... | |
virtual void | do_destroy () |
|
overridevirtual |
Overload this method to specify the inputs.
Implements IMP::ParticleInputs.
bool IMP::core::QuadraticClosePairsFinder::get_are_close_and_filtered | ( | Particle * | a, |
Particle * | b | ||
) | const |
returns true if a and b are close, and pass any filter added to this
Definition at line 24 of file QuadraticClosePairsFinder.h.
bool IMP::core::QuadraticClosePairsFinder::get_are_close_and_filtered | ( | Model * | m, |
ParticleIndex | a, | ||
ParticleIndex | b | ||
) | const |
returns true if a and b of m are close, and pass any filter added to this
|
overridevirtual |
return all close pairs among pc in model m
Implements IMP::core::ClosePairsFinder.
|
overridevirtual |
return all close pairs among pc in model m
Implements IMP::core::ClosePairsFinder.
|
overridevirtual |
Get information about the module and version of the object.
Reimplemented from IMP::Object.
Definition at line 47 of file QuadraticClosePairsFinder.h.