com.rapidminer.operator.learner.subgroups.hypothesis
Class Literal
java.lang.Object
com.rapidminer.operator.learner.subgroups.hypothesis.Literal
- All Implemented Interfaces:
- java.io.Serializable
public class Literal
- extends java.lang.Object
- implements java.io.Serializable
A literator for a rule.
- Author:
- Tobias Malbrecht
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Literal
public Literal(Attribute attribute,
double value)
applicable
public boolean applicable(Example example)
getAttribute
public Attribute getAttribute()
getValue
public double getValue()
getValueAsString
public java.lang.String getValueAsString()
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
contradicts
public boolean contradicts(Literal otherLiteral)
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2001-2009 by Rapid-I