Developer Documentation
Centre for Vision, Speech & Signal Processing
USER IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
DataBunchIterNC::DataBunchIterNC(DataBunchC &,const VectorC &)
DataBunchIterNC::First(void)
DataBunchIterNC::IsElm(void) const
DataBunchIterNC::Next(void)
DataBunchIterNC::Data(void)
DataBunchIterNC::RawData(void)
DataBunchIterNC::VectorData(void)
DataBunchIterNC::QueueNextData(void)
DataBunchIterNC::AddBin(const VectorC &)
DataBunchIterNC<class LabelT>
 
include "amma/DataBunchIterN.hh"
User Level:Default
Library:dataBunch
Example: doNumClassComb.cc
Section:default.Charles Galambos
In Scope:std

Comments:
/////////////////////////////////////////////

Typedefs:
typedef Tuple2C<VectorC,LabelT> DataT;

Variables:
DataBunchC & data;

VectorC centre;

VectorC projCentre;

RealT maxDist;
Maximum distance we can trust.

RealT maxSearchDistance;

IntT dim;

RealT min[];

RealT max[];

IntT square_size;

PriQueueC ordered;

Methods:
DataBunchIterNC(DataBunchC<LabelT> & thedata,const VectorC & thepoint)
Constructor.

void First()
Get ready to return closest point.

bool IsElm() const
Any points yet to be returned?

void Next()
This to make it look a genuine iterator.

LabelT Data()
Access label of current closest point.

DataT & RawData()
Access label of current closest point.

VectorC VectorData()

BooleanT QueueNextData()
Queue up next lot of data.

void AddBin(const VectorC & bin)


Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001