IMP logo
IMP Reference Guide  develop.63b38c487d,2024/12/21
The Integrative Modeling Platform
IMP::algebra::DynamicNearestNeighbor3D Class Reference

Provide an incremental nearest neighbor search function. More...

#include <IMP/algebra/vector_search.h>

+ Inheritance diagram for IMP::algebra::DynamicNearestNeighbor3D:

Detailed Description

Provide an incremental nearest neighbor search function.

The interface and behavior is somewhat different than that of NearestNeighborD, so be aware.

Later this can support balls by copying points multiple times.

Definition at line 185 of file vector_search.h.

Public Member Functions

 DynamicNearestNeighbor3D (const Vector3Ds &vs, double query_estimate=1)
 
Ints get_in_ball (int id, double distance) const
 
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...
 
void set_coordinates (int id, Vector3D nc)
 
- 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

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

Member Function Documentation

virtual ::IMP::VersionInfo IMP::algebra::DynamicNearestNeighbor3D::get_version_info ( ) const
overridevirtual

Get information about the module and version of the object.

Reimplemented from IMP::Object.

Definition at line 200 of file vector_search.h.


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