mimas::knn Class Reference

#include <knn.h>

Collaboration diagram for mimas::knn:

Collaboration graph
[legend]
List of all members.

Public Types

typedef std::string string
typedef std::ifstream ifstream

Public Member Functions

void loadTrainingSet (string fn)
 knn ()
 ~knn ()

Public Attributes

int numNeighbours

Protected Attributes

std::list< doubledataVector
std::list< std::list< double > > trainingInputSet
std::list< std::list< double > > trainingOutputSet
int inputVectorLength
int outputVectorLength

Detailed Description

Definition at line 18 of file knn.h.


Member Typedef Documentation

typedef std::string mimas::knn::string

Definition at line 21 of file knn.h.

typedef std::ifstream mimas::knn::ifstream

Definition at line 22 of file knn.h.


Constructor & Destructor Documentation

mimas::knn::knn (  )  [inline]

Definition at line 34 of file knn.h.

References numNeighbours.

mimas::knn::~knn (  )  [inline]

Definition at line 39 of file knn.h.


Member Function Documentation

void mimas::knn::loadTrainingSet ( string  fn  ) 

Definition at line 44 of file knn.h.


Member Data Documentation

std::list<double> mimas::knn::dataVector [protected]

Definition at line 24 of file knn.h.

std::list< std::list<double> > mimas::knn::trainingInputSet [protected]

Definition at line 25 of file knn.h.

std::list< std::list<double> > mimas::knn::trainingOutputSet [protected]

Definition at line 26 of file knn.h.

int mimas::knn::inputVectorLength [protected]

Definition at line 27 of file knn.h.

int mimas::knn::outputVectorLength [protected]

Definition at line 27 of file knn.h.

int mimas::knn::numNeighbours

Definition at line 31 of file knn.h.

Referenced by knn().


The documentation for this class was generated from the following file:
[GNU/Linux] [Qt] [Mesa] [STL] [Lapack] [Boost] [Magick++] [Xalan-C and Xerces-C] [doxygen] [graphviz] [FFTW] [popt] [xine] [Gnuplot] [gnu-arch] [gcc] [gstreamer] [autoconf/automake/make] [freshmeat.net] [opensource.org] [sourceforge.net] [MMVL]
mimas 2.1 - Copyright Mon Oct 30 11:31:35 2006, Bala Amavasai, Stuart Meikle, Arul Selvan, Fabio Caparrelli, Jan Wedekind, Manuel Boissenin, ...