Main Page   Packages   Class Hierarchy   Compound List   File List   Compound Members  

meapsoft.FeatChunk Class Reference

Inheritance diagram for meapsoft.FeatChunk:

Inheritance graph
[legend]
Collaboration diagram for meapsoft.FeatChunk:

Collaboration graph
[legend]
List of all members.

Detailed Description

Representation of a FeatFile Chunk.

Author:
Ron Weiss ([email protected])

Definition at line 36 of file FeatChunk.java.

Public Methods

 FeatChunk (String sf, double st, double l)
 FeatChunk constructor.

void addFeature (Object[] f)
 Add the given features to this chunk.

void addFeature (Collection f)
 Add the given features to this chunk.

void addFeature (double[] f)
 Add the given features to this chunk.

void addFeature (Object f)
 Add the given features to this chunk.

void addFeature (double f)
 Add the given features to this chunk.

void setFeature (int idx, double f)
 Set feature dimension idx to the given feature value.

void setFeatures (double[] f)
 Set feature dimension idx to the given feature value.

int numFeatures ()
 Returns the number of features associated with this chunk.

double[] getFeatures ()
 Get the features associated with this chunk.

double[] getFeatures (int[] idx)
 Get the subset of features corresponding to the dimensions listed in idx.

void clearFeatures ()
 Remove the features associated with this Chunk.

String toString ()
 Write a description of this Chunk as a String in the format expected in a FeatFile.

Object clone ()
 Clone this FeatChunk.


The documentation for this class was generated from the following file:
Generated on Tue Feb 6 19:02:29 2007 for MEAPsoft by doxygen1.2.18