#include <guma_rkdtree.h>
Inheritance diagram for guma::kdnnrec::

Public Methods | |
| kdnnrec () | |
| kdnnrec (const V &dist, const kdrec< U, V > &rec) | |
| kdnnrec< U, V > & | operator= (kdnnrec< U, V > &other) |
| GULAPI void | dump (int dim) |
Public Attributes | |
| V | m_dist |
| gul::List< gul::ListNode< kdrec< U, V > > > | m_recs |
|
|||||||||
|
Definition at line 160 of file guma_rkdtree.h.
00160 { }
|
|
||||||||||||||||
|
Definition at line 162 of file guma_rkdtree.h. References gul::List::Append(), and m_dist.
00163 {
00164 m_dist = dist;
00165 m_recs.Append( new gul::ListNode< kdrec<U,V> >(rec) );
00166 }
|
|
||||||||||
|
Definition at line 106 of file guma_rkdtree.cpp. References gul::List< gul::ListNode< kdrec< U, V > > >::First(), GULAPI, m_dist, and m_recs.
00107 {
00108 ListNode< kdrec<U,V> > *r;
00109 int i;
00110
00111 cout << "dist = " << m_dist << ", { ";
00112 for( r = m_recs.First(); r; r = r->next )
00113 {
00114 cout << (void *)r->el.m_base << ":(" << r->el[0];
00115 for( i = 1; i < dim; i++ )
00116 cout << ", " << r->el[i];
00117 cout << ") ";
00118 }
00119 cout << "}\n";
00120 }
|
|
||||||||||
|
Definition at line 167 of file guma_rkdtree.h. References GULAPI, and m_dist.
|
|
|||||
|
Definition at line 157 of file guma_rkdtree.h. |
|
|||||
|
Definition at line 158 of file guma_rkdtree.h. Referenced by dump(). |
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001