|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object weka.filters.unsupervised.attribute.AddExpression.Operator
Inner class for storing operators
Field Summary | |
protected char |
m_operator
the operator |
Constructor Summary | |
AddExpression.Operator(char opp)
|
Method Summary | |
protected double |
applyFunction(double value)
Apply this operator (function) to the supplied argument |
protected double |
applyOperator(double first,
double second)
Apply this operator to the supplied arguments |
java.lang.String |
toString()
Return a string describing this object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected char m_operator
Constructor Detail |
public AddExpression.Operator(char opp)
Method Detail |
protected double applyOperator(double first, double second)
first
- the first argumentsecond
- the second argument
protected double applyFunction(double value)
value
- the argument
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |