edu.gtts.sautrela.wfsa
Class EntropyEstimator
java.lang.Object
edu.gtts.sautrela.engine.AbstractDataProcessor
edu.gtts.sautrela.wfsa.EntropyEstimator
- All Implemented Interfaces:
- DataProcessor, java.beans.BeanInfo, java.io.Serializable
public class EntropyEstimator
- extends AbstractDataProcessor
- Author:
- mpenagar
- See Also:
- Serialized Form
| Fields inherited from interface java.beans.BeanInfo |
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EntropyEstimator
public EntropyEstimator()
getTargetURL
public java.net.URL getTargetURL()
- Getter for property targetURL.
- Returns:
- Value of property targetURL.
setTargetURL
public void setTargetURL(java.net.URL url)
- Setter for property targetURL.
- Parameters:
url - New value of property targetURL.
getTargetType
public EntropyEstimator.TargetType getTargetType()
- Getter for property targetType.
- Returns:
- Value of property targetType.
setTargetType
public void setTargetType(EntropyEstimator.TargetType type)
- Setter for property targetType.
- Parameters:
type - New value of property targetType.
process
public void process(Buffer in,
Buffer out)
throws DataProcessorException
- Obtains the total logProb of input Data Streams.
CAUTION: each input data is supposed to represent a single
symbol, so arrays are treated as single symbols too.
- Parameters:
in - Input Bufferout - Output Buffer
- Throws:
DataProcessorException
editBeanInfo
public void editBeanInfo(java.beans.BeanInfo info)
- Overrides:
editBeanInfo in class AbstractDataProcessor
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception