IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
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 201 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.
void set_coordinates (int id, Vector3D nc)
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

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

◆ ~DynamicNearestNeighbor3D()

virtual IMP::algebra::DynamicNearestNeighbor3D::~DynamicNearestNeighbor3D ( )
virtual

Definition at line 216 of file vector_search.h.

Member Function Documentation

◆ get_type_name()

virtual std::string IMP::algebra::DynamicNearestNeighbor3D::get_type_name ( ) const
overridevirtual

Reimplemented from IMP::Object.

Definition at line 216 of file vector_search.h.

◆ get_version_info()

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 216 of file vector_search.h.


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