aima.learning.framework
Class NumericAttribute

java.lang.Object
  extended by aima.learning.framework.NumericAttribute
All Implemented Interfaces:
Attribute

public class NumericAttribute
extends java.lang.Object
implements Attribute


Constructor Summary
NumericAttribute(double rawvalue, NumericAttributeSpecification spec)
           
 
Method Summary
 java.lang.String name()
           
 double valueAsDouble()
           
 java.lang.String valueAsString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumericAttribute

public NumericAttribute(double rawvalue,
                        NumericAttributeSpecification spec)
Method Detail

valueAsString

public java.lang.String valueAsString()
Specified by:
valueAsString in interface Attribute

name

public java.lang.String name()
Specified by:
name in interface Attribute

valueAsDouble

public double valueAsDouble()