#include <iso_space_alg_ann.h>
Inherits iso::space::SpaceAlg.
Inheritance diagram for iso::space::ANNAlg:
Public Member Functions | |
ANNAlg (unsigned int pDim) | |
ANNAlg (const math::Vector< real > &pMinPos, const math::Vector< real > &pMaxPos) | |
~ANNAlg () | |
void | updateStructure (QVector< SpaceProxyObject * > &pObjects) throw (SpaceException) |
void | updateNeighbors (QVector< SpaceProxyObject * > &pObjects) throw (SpaceException) |
base::String | info () const |
obtain textual ntree information | |
Protected Member Functions | |
ANNAlg () | |
Protected Attributes | |
ANNkd_tree * | mTree |
ANNpointArray | mDataPts |
QVector< SpaceProxyObject * > * | mNeighborObjects |
Friends | |
std::ostream & | operator<< (std::ostream &pOstream, const ANNAlg &pAlg) |
retrieve textual ntree information |
ANNAlg::ANNAlg | ( | unsigned int | pDim | ) |
ANNAlg::~ANNAlg | ( | ) |
ANNAlg::ANNAlg | ( | ) | [protected] |
void ANNAlg::updateStructure | ( | QVector< SpaceProxyObject * > & | pObjects | ) | throw (SpaceException) [virtual] |
Reimplemented from iso::space::SpaceAlg.
void ANNAlg::updateNeighbors | ( | QVector< SpaceProxyObject * > & | pObjects | ) | throw (SpaceException) [virtual] |
Reimplemented from iso::space::SpaceAlg.
base::String ANNAlg::info | ( | ) | const |
obtain textual ntree information
Reimplemented from iso::space::SpaceAlg.
std::ostream& operator<< | ( | std::ostream & | pOstream, | |
const ANNAlg & | pAlg | |||
) | [friend] |
retrieve textual ntree information
pOstream | output stream | |
pTree | ntree |
ANNkd_tree* iso::space::ANNAlg::mTree [protected] |
ANNpointArray iso::space::ANNAlg::mDataPts [protected] |
QVector< SpaceProxyObject* >* iso::space::ANNAlg::mNeighborObjects [protected] |