Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

prapi::VectorQuantizer Class Reference

#include <VectorQuantizer.h>

Inheritance diagram for prapi::VectorQuantizer:

Object prapi::VQClassifier< I, C > prapi::OLVQ1< I, C > List of all members.

Detailed Description

VectorQuantizer is an interface for classes that are able to quantize a multi-dimensional feature space into a one-dimensional one.


Public Methods

virtual int getBinIndex (const util::List< double > &vector) const=0 throw (ClassificationException&)
 Get the scalar correspondent for a multi-dimensional vector.

virtual int getMaxIndex () const=0
 Get the maximum bin index this quantizer will give for a vector.


Member Function Documentation

virtual int prapi::VectorQuantizer::getBinIndex const util::List< double > &    vector const throw (ClassificationException&) [pure virtual]
 

Get the scalar correspondent for a multi-dimensional vector.

Parameters:
vec  a multi-dimensional vector to be quantized
Returns:
the index of the closest vector in the code book

Implemented in prapi::VQClassifier< I, C >.


The documentation for this class was generated from the following file:
Documentation generated on 11.09.2003 with Doxygen.
The documentation is copyrighted material.
Copyright © Topi Mäenpää 2003. All rights reserved.