public class LinearPreprocessor extends Object implements IDescriptorPreprocessor
| Modifier and Type | Field and Description |
|---|---|
protected int |
dimension |
protected String |
explanation |
protected double[] |
scale |
protected double[] |
translation |
| Constructor and Description |
|---|
LinearPreprocessor(double[] scale,
double[] translation) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDimension() |
String |
getExplanation() |
double[] |
getScale() |
double[] |
getTranslation() |
double[] |
process(double[] values) |
void |
setDimension(int dimension) |
void |
setExplanation(String explanation) |
void |
setScale(double[] scale) |
void |
setTranslation(double[] translation) |
String |
toString() |
protected double[] scale
protected double[] translation
protected String explanation
protected int dimension
public double[] process(double[] values)
throws Exception
process in interface IDescriptorPreprocessorExceptionpublic double[] getScale()
public double[] getTranslation()
public String getExplanation()
getExplanation in interface IDescriptorPreprocessorpublic void setExplanation(String explanation)
setExplanation in interface IDescriptorPreprocessorpublic int getDimension()
getDimension in interface IDescriptorPreprocessorpublic void setDimension(int dimension)
setDimension in interface IDescriptorPreprocessorCopyright © 2004–2018 Ideaconsult Ltd. All rights reserved.