|
cgma
|
#include <AbstractTree.hpp>
Public Types | |
| typedef double(* | DistSqFunc )(CubitVector &a, Z &b) |
Public Member Functions | |
| virtual CubitStatus | add (Z data)=0 |
| virtual void | set_tol (double tol)=0 |
| virtual double | get_tol ()=0 |
| virtual CubitBoolean | remove (Z data)=0 |
| virtual CubitStatus | find (const CubitBox &range_box, DLIList< Z > &range_members)=0 |
| virtual CubitStatus | k_nearest_neighbor (CubitVector &q, int k, double &closest_dist, DLIList< Z > &nearest_neighbors, DistSqFunc dist_sq_point_data)=0 |
| virtual CubitStatus | balance () |
| virtual | ~AbstractTree () |
Definition at line 18 of file AbstractTree.hpp.
| typedef double(* AbstractTree< Z >::DistSqFunc)(CubitVector &a, Z &b) |
Reimplemented in KDDTree< Z >, RTree< Z >, and RTree< PartitionEntity * >.
Definition at line 22 of file AbstractTree.hpp.
| virtual AbstractTree< Z >::~AbstractTree | ( | ) | [inline, virtual] |
Definition at line 38 of file AbstractTree.hpp.
{};
| virtual CubitStatus AbstractTree< Z >::add | ( | Z | data | ) | [pure virtual] |
Implemented in KDDTree< Z >, RTree< Z >, and RTree< PartitionEntity * >.
| virtual CubitStatus AbstractTree< Z >::balance | ( | ) | [inline, virtual] |
Reimplemented in KDDTree< Z >.
Definition at line 35 of file AbstractTree.hpp.
{ return CUBIT_SUCCESS; };
| virtual CubitStatus AbstractTree< Z >::find | ( | const CubitBox & | range_box, |
| DLIList< Z > & | range_members | ||
| ) | [pure virtual] |
Implemented in KDDTree< Z >, RTree< Z >, and RTree< PartitionEntity * >.
| virtual double AbstractTree< Z >::get_tol | ( | ) | [pure virtual] |
Implemented in RTree< Z >, RTree< PartitionEntity * >, and KDDTree< Z >.
| virtual CubitStatus AbstractTree< Z >::k_nearest_neighbor | ( | CubitVector & | q, |
| int | k, | ||
| double & | closest_dist, | ||
| DLIList< Z > & | nearest_neighbors, | ||
| DistSqFunc | dist_sq_point_data | ||
| ) | [pure virtual] |
Implemented in KDDTree< Z >, RTree< Z >, and RTree< PartitionEntity * >.
| virtual CubitBoolean AbstractTree< Z >::remove | ( | Z | data | ) | [pure virtual] |
Implemented in KDDTree< Z >, RTree< Z >, and RTree< PartitionEntity * >.
| virtual void AbstractTree< Z >::set_tol | ( | double | tol | ) | [pure virtual] |
Implemented in RTree< Z >, RTree< PartitionEntity * >, and KDDTree< Z >.