Quantizer Interface Reference
Quantizer is an interface for classes that serve as data quantizers.
More...
List of all members.
Detailed Description
Quantizer is an interface for classes that serve as data quantizers.
That is, they serve to reduce the effective amount of information in a data set by algorithmically determining a small set of appropriate representatives to which the data items can be translated to. In particular, Quantizer deals with 3D acceleration data. A quantizer should be constructed with a data set with which to develop its "codebook."
- Author:
- Team Better Recognize
Member Function Documentation
void setDataSet |
( |
Vector< Accel3D > |
data |
) |
|
void setDataSet |
( |
Vector< Accel3D > |
data |
) |
|
Returns the size of the Quantizer, which corresponds to the size of the image of the quantization mapping.
That is, the size is the total number of representatives determined by this Quantizer for its data set.
- Returns:
- the size of the Quantizer.
Implemented in Kmeans, and Kmeans.
Returns the size of the Quantizer, which corresponds to the size of the image of the quantization mapping.
That is, the size is the total number of representatives determined by this Quantizer for its data set.
- Returns:
- the size of the Quantizer.
Implemented in Kmeans, and Kmeans.
Translates a 3D acceleration into its appropriate representative.
- Parameters:
-
| acc | The acceleration vector to translate (quantize) |
- Returns:
- the quantized value (an integer) which the Accel3D is mapped to in this Quantizer
Implemented in Kmeans, and Kmeans.
Translates a 3D acceleration into its appropriate representative.
- Parameters:
-
| acc | The acceleration vector to translate (quantize) |
- Returns:
- the quantized value (an integer) which the Accel3D is mapped to in this Quantizer
Implemented in Kmeans, and Kmeans.
Member Data Documentation
static final int KMEANS = 0 [static] |
The documentation for this interface was generated from the following files:
- /Users/dev/Documents/SVN brazos.cs.tcu.edu/trunk/KmeansTest/src/Quantizer.java
- /Users/dev/Documents/SVN brazos.cs.tcu.edu/trunk/KmeansTestRandom/src/Quantizer.java