public class PlotOpSymbolicAggregation extends AbstractOperator
| Modifier and Type | Field and Description |
|---|---|
private static org.apache.log4j.Logger |
logger |
private String[][] |
LUMatrix |
private String |
signalString |
isCancelable, name, parentTask, pcs, type| Constructor and Description |
|---|
PlotOpSymbolicAggregation() |
| Modifier and Type | Method and Description |
|---|---|
private Double |
calcMean(Vector<Double> data1D)
This method calculates the mean of a data series
|
private double |
calcStandardDeviation(Vector<Double> data1D)
This method calculates the standard deviation of a data series
|
private double |
calcVariance(Vector<Double> data1D)
This method calculates the variance of a data series
|
private double |
calcVariance(Vector<Double> data1D,
double mean)
This method calculates the variance of a data series
|
private String[] |
getAlphabet(int alphabetSize)
This method gets back the alphabet
|
private double[] |
getBreakpointsLUT(int alphabetSize)
This method gets back a LUT of breakpoints (levels) in order to segment a signal into symbols
|
String |
getName()
Gets the unique name of the
IOperator by returning the
"GlobalName" element from the resources[][] of the
associated IOperatorDescriptor. |
OperatorType |
getType()
Gets the type of the operator listed in an enumeration.
|
IResult |
run(IWorkPackage wp)
This method contains the entire logic (algorithm) of the operator.
|
addProgressListener, fireProgressChanged, getParentTask, getPcs, getProgressListeners, initializeOperator, isCancelable, isCancelled, setCancelable, setParentTaskprivate static final org.apache.log4j.Logger logger
private String signalString
private String[][] LUMatrix
private Double calcMean(Vector<Double> data1D)
data1D - private double calcVariance(Vector<Double> data1D)
data1D - private double calcVariance(Vector<Double> data1D, double mean)
data1D, - meanprivate double calcStandardDeviation(Vector<Double> data1D)
data1D - public IResult run(IWorkPackage wp)
IOperatorIOperator does not declare any class members, since the execution
of this code must be thread-safe.run in interface IOperatorrun in class AbstractOperatorwp - the parameters and sourcesIResult containing all processed dataprivate String[] getAlphabet(int alphabetSize)
index - private double[] getBreakpointsLUT(int alphabetSize)
alphabetSize - public String getName()
IOperatorIOperator by returning the
"GlobalName" element from the resources[][] of the
associated IOperatorDescriptor.getName in interface IOperatorgetName in class AbstractOperatorpublic OperatorType getType()
IOperatorgetType in interface IOperatorgetType in class AbstractOperatorOperatorTypeCopyright © 2009–2017 Helmut Ahammer, Philipp Kainz. All rights reserved.