com.rapidminer.operator.learner.subgroups.hypothesis
Class Literal

java.lang.Object
  extended by 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

Constructor Summary
Literal(Attribute attribute, double value)
           
 
Method Summary
 boolean applicable(Example example)
           
 boolean contradicts(Literal otherLiteral)
           
 boolean equals(java.lang.Object object)
           
 Attribute getAttribute()
           
 double getValue()
           
 java.lang.String getValueAsString()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Literal

public Literal(Attribute attribute,
               double value)
Method Detail

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