DistOrdering< cur_type > Class Template Reference

#include <orderings.h>

Inherits Ordering< cur_type >.

Inheritance diagram for DistOrdering< cur_type >:

Inheritance graph
[legend]
Collaboration diagram for DistOrdering< cur_type >:

Collaboration graph
[legend]
List of all members.

Protected Member Functions

virtual double getVal (const cur_type *const in) const

Detailed Description

template<typename cur_type>
class DistOrdering< cur_type >

This class defines an ordering based on distance^2 from the origin (0,0,0). Note that this only makes (good) sense if the dataset is normalised.

Definition at line 201 of file orderings.h.


Member Function Documentation

template<typename cur_type>
virtual double DistOrdering< cur_type >::getVal ( const cur_type *const   in  )  const [inline, protected, virtual]

Implements Ordering< cur_type >.

Definition at line 205 of file orderings.h.


The documentation for this class was generated from the following file:
Generated on Sat Oct 13 17:34:43 2007 for R-Tree by  doxygen 1.5.2