bodhidharma.data_structures
Class Feature

java.lang.Object
  extended by bodhidharma.data_structures.Feature
Direct Known Subclasses:
FeatureMultiDimensional, FeatureOneDimensional

public abstract class Feature
extends java.lang.Object

An abstract class for holding a feature. Each class implementing this abstract class should hold the value of a single feature that is extracted from a recording.

The constructor of a class implementing this interface should take in an intermediate representation of a recording and derive the value of the feature from this. There should also be a constructor with no arguments that initializes the value of the feature to null or -1.0.

Classes implementing this class should also have a getValue() method that returns the value of the feature (using whatever datatype is appropriate).

Author:
Cory McKay

Constructor Summary
Feature()
           
 
Method Summary
abstract  java.lang.String getCode()
          Returns the code number of the feature.
abstract  java.lang.String getDescription()
          Returns a sentence or two describing the feature.
abstract  java.lang.String getName()
          Returns the name of the feature.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Feature

public Feature()
Method Detail

getName

public abstract java.lang.String getName()
Returns the name of the feature.


getDescription

public abstract java.lang.String getDescription()
Returns a sentence or two describing the feature.


getCode

public abstract java.lang.String getCode()
Returns the code number of the feature.