Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

rsdl_bins_point_dist_entry< N, CoordType, ValueType > Struct Template Reference

List of all members.

Detailed Description

template<unsigned N, typename CoordType, typename ValueType>
struct rsdl_bins_point_dist_entry< N, CoordType, ValueType >

This class is used in n_nearest_impl.

It stores a pointer to an entry (= (location,value) pair), and a distance to that entry from the query point. It supports ordering by ascending distance.

Definition at line 23 of file rsdl_bins.txx.

Public Types

typedef rsdl_bins< N, CoordType,
ValueType > 
bin_class
typedef rsdl_bins_bin_entry_type<
N, CoordType, ValueType > 
bin_entry_type
typedef bin_class::coord_type coord_type
typedef bin_class::point_type point_type

Public Member Functions

 rsdl_bins_point_dist_entry (point_type const &query_pt, bin_entry_type const *entry)
bool operator< (rsdl_bins_point_dist_entry const &other) const

Public Attributes

bin_entry_type const * entry_
coord_type dist_


Member Typedef Documentation

template<unsigned N, typename CoordType, typename ValueType>
typedef rsdl_bins<N,CoordType,ValueType> rsdl_bins_point_dist_entry< N, CoordType, ValueType >::bin_class
 

Definition at line 25 of file rsdl_bins.txx.

template<unsigned N, typename CoordType, typename ValueType>
typedef rsdl_bins_bin_entry_type<N,CoordType,ValueType> rsdl_bins_point_dist_entry< N, CoordType, ValueType >::bin_entry_type
 

Definition at line 26 of file rsdl_bins.txx.

template<unsigned N, typename CoordType, typename ValueType>
typedef bin_class::coord_type rsdl_bins_point_dist_entry< N, CoordType, ValueType >::coord_type
 

Definition at line 27 of file rsdl_bins.txx.

template<unsigned N, typename CoordType, typename ValueType>
typedef bin_class::point_type rsdl_bins_point_dist_entry< N, CoordType, ValueType >::point_type
 

Definition at line 28 of file rsdl_bins.txx.


Constructor & Destructor Documentation

template<unsigned N, typename C, typename V>
rsdl_bins_point_dist_entry< N, C, V >::rsdl_bins_point_dist_entry point_type const &  query_pt,
bin_entry_type const *  entry
 

Definition at line 700 of file rsdl_bins.txx.


Member Function Documentation

template<unsigned N, typename C, typename V>
bool rsdl_bins_point_dist_entry< N, C, V >::operator< rsdl_bins_point_dist_entry< N, CoordType, ValueType > const &  other  )  const [inline]
 

Definition at line 711 of file rsdl_bins.txx.


Member Data Documentation

template<unsigned N, typename CoordType, typename ValueType>
coord_type rsdl_bins_point_dist_entry< N, CoordType, ValueType >::dist_
 

Definition at line 36 of file rsdl_bins.txx.

template<unsigned N, typename CoordType, typename ValueType>
bin_entry_type const* rsdl_bins_point_dist_entry< N, CoordType, ValueType >::entry_
 

Definition at line 35 of file rsdl_bins.txx.


The documentation for this struct was generated from the following file:
Generated on Thu Jan 10 14:49:34 2008 for contrib/rpl/rsdl by  doxygen 1.4.4