|
Sautrela | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.gtts.sautrela.engine.AbstractDataProcessor
edu.gtts.sautrela.vq.Quantizer
public class Quantizer
A Dataprocessor that implements a Vector Quantizer.
| Field Summary |
|---|
| Fields inherited from interface java.beans.BeanInfo |
|---|
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
| Constructor Summary | |
|---|---|
Quantizer()
Creates a new Quantizer |
|
| Method Summary | |
|---|---|
void |
editBeanInfo(java.beans.BeanInfo info)
|
java.net.URL |
getUrl()
Gets the URL of the ClusterSet of this Quantizer |
boolean |
isBinary()
Getter for property binary. |
static void |
main(java.lang.String[] args)
|
void |
process(Buffer in,
Buffer out)
The index of the nearest cluster is obtained. |
void |
setBinary(boolean binary)
Setter for property binary. |
void |
setUrl(java.net.URL url)
Sets the file that contains the ClusterSet of this Quantizer |
| Methods inherited from class edu.gtts.sautrela.engine.AbstractDataProcessor |
|---|
getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getName, getPropertyDescriptors, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Quantizer()
throws DataProcessorException
DataProcessorException| Method Detail |
|---|
public java.net.URL getUrl()
public void setUrl(java.net.URL url)
url - The file that contains the ClusterSet
public void process(Buffer in,
Buffer out)
throws DataProcessorException
IntData.
in - Input Bufferout - Output Buffer
DataProcessorExceptionpublic boolean isBinary()
public void setBinary(boolean binary)
binary - New value of property binary.public void editBeanInfo(java.beans.BeanInfo info)
editBeanInfo in class AbstractDataProcessor
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
|
Sautrela | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||