weka.filters.unsupervised.attribute
Class AddExpression.AttributeOperand
java.lang.Object
weka.filters.unsupervised.attribute.AddExpression.AttributeOperand
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- AddExpression
- private class AddExpression.AttributeOperand
- extends java.lang.Object
- implements java.io.Serializable
Inner class handling an attribute index as an operand
Field Summary |
protected int |
m_attributeIndex
the index of the attribute |
protected boolean |
m_negative
true if the value of the attribute are to be multiplied by -1 |
Method Summary |
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 |
m_attributeIndex
protected int m_attributeIndex
- the index of the attribute
m_negative
protected boolean m_negative
- true if the value of the attribute are to be multiplied by -1
AddExpression.AttributeOperand
public AddExpression.AttributeOperand(java.lang.String operand,
boolean sign)
throws java.lang.Exception
toString
public java.lang.String toString()
- Return a string describing this object
- Returns:
- a string descibing the attribute operand