weka.roughset
Class AttributeValuePair

java.lang.Object
  |
  +--weka.roughset.AttributeValuePair
All Implemented Interfaces:
Comparable

public class AttributeValuePair
extends Object
implements Comparable


Constructor Summary
AttributeValuePair()
           
AttributeValuePair(Attribute a, double v)
           
AttributeValuePair(AttributeValuePair p)
           
AttributeValuePair(Instance i)
           
 
Method Summary
 int compareTo(Object o)
           
 boolean equals(Object o)
           
 Attribute getAttribute()
           
 double getValue()
           
 int hashCode()
           
 boolean matches(RoughInstance i)
           
 String ruleString()
           
 void setAttribute(Attribute a)
           
 void setValue(double v)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeValuePair

public AttributeValuePair()

AttributeValuePair

public AttributeValuePair(Attribute a,
                          double v)

AttributeValuePair

public AttributeValuePair(AttributeValuePair p)

AttributeValuePair

public AttributeValuePair(Instance i)
Method Detail

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

equals

public boolean equals(Object o)
Overrides:
equals in class Object

getValue

public double getValue()

setValue

public void setValue(double v)

getAttribute

public Attribute getAttribute()

setAttribute

public void setAttribute(Attribute a)

matches

public boolean matches(RoughInstance i)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

ruleString

public String ruleString()