org.metasyntactic.ai.learning
Class Example

java.lang.Object
  |
  +--org.metasyntactic.ai.learning.Example

public class Example
extends java.lang.Object


Constructor Summary
Example(java.util.Map attributeToValue, boolean classification)
           
 
Method Summary
 boolean getClassification()
           
 java.lang.Object getValue(java.lang.Object attribute)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Example

public Example(java.util.Map attributeToValue,
               boolean classification)
Method Detail

getValue

public java.lang.Object getValue(java.lang.Object attribute)

getClassification

public boolean getClassification()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object