public class NormContinuous extends Expression
| Constructor and Description |
|---|
NormContinuous(org.w3c.dom.Element normCont,
FieldMetaInfo.Optype opType,
java.util.ArrayList<Attribute> fieldDefs) |
| Modifier and Type | Method and Description |
|---|---|
double |
getResult(double[] incoming)
Get the result of evaluating the expression.
|
java.lang.String |
getResultCategorical(double[] incoming)
Always throws an Exception since the result of NormContinuous must
be continuous.
|
double |
getResultInverse(double[] incoming)
Compute the inverse of the normalization (i.e.
|
void |
setFieldDefs(java.util.ArrayList<Attribute> fieldDefs)
Set the field definitions for this Expression to use
|
java.lang.String |
toString(java.lang.String pad) |
getExpression, getExpression, getFieldDef, getFieldDefIndex, getOptype, getResultContinuous, toStringpublic NormContinuous(org.w3c.dom.Element normCont,
FieldMetaInfo.Optype opType,
java.util.ArrayList<Attribute> fieldDefs)
throws java.lang.Exception
java.lang.Exceptionpublic void setFieldDefs(java.util.ArrayList<Attribute> fieldDefs) throws java.lang.Exception
setFieldDefs in class ExpressionfieldDefs - the field definitions to usejava.lang.Exception - if there is a problem setting the field definitionspublic double getResult(double[] incoming)
throws java.lang.Exception
getResult in class Expressionincoming - the incoming parameter valuesjava.lang.Exception - if there is a problem computing the resultpublic double getResultInverse(double[] incoming)
incoming - the incoming parameter valuespublic java.lang.String getResultCategorical(double[] incoming)
throws java.lang.Exception
getResultCategorical in class Expressionincoming - the incoming parameter valuesjava.lang.Exception - alwayspublic java.lang.String toString(java.lang.String pad)
toString in class Expression