weka.filters.unsupervised.attribute
Class AddExpression.AttributeOperand

java.lang.Object
  extended byweka.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
 
Constructor Summary
AddExpression.AttributeOperand(java.lang.String operand, boolean sign)
           
 
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
 

Field Detail

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

Constructor Detail

AddExpression.AttributeOperand

public AddExpression.AttributeOperand(java.lang.String operand,
                                      boolean sign)
                               throws java.lang.Exception
Method Detail

toString

public java.lang.String toString()
Return a string describing this object

Returns:
a string descibing the attribute operand