Main Page   Packages   Class Hierarchy   Compound List   File List   Compound Members  

composers.SortComposer Class Reference

Inheritance diagram for composers.SortComposer:

Inheritance graph
[legend]
Collaboration diagram for composers.SortComposer:

Collaboration graph
[legend]
List of all members.

Detailed Description

Program that composes an EDL by sorting chunks in featFile based on some subset of their features using some distance metric.

Sorting is done based on distance from the origin in feature space.

Author:
Ron Weiss ([email protected])

Definition at line 49 of file SortComposer.java.

Public Methods

 SortComposer (String[] args)
 SortComposer constructor.

void setup () throws IOException, ParserException
 Setup the Composer - read in files, etc.

EDLFile compose ()
 Compose an EDLFile.


Static Public Attributes

String description


Constructor & Destructor Documentation

composers.SortComposer.SortComposer String    args[] [inline]
 

SortComposer constructor.

Parses command line arguments

Definition at line 110 of file SortComposer.java.

References meapsoft.MEAPUtil.parseChunkDist(), composers.Composer.parseCommands(), and meapsoft.MEAPUtil.parseFeatDim().


Member Function Documentation

EDLFile composers.SortComposer.compose   [inline, virtual]
 

Compose an EDLFile.

This is where the magic happens.

Implements composers.Composer.

Reimplemented in composers.NNComposer, and composers.ShoobyComposer.

Definition at line 196 of file SortComposer.java.

void composers.SortComposer.setup   throws IOException, ParserException [inline]
 

Setup the Composer - read in files, etc.

This should be called before any call to compose() to ensure that the inputs and outputs are properly initialized.

Reimplemented from composers.Composer.

Definition at line 176 of file SortComposer.java.


Member Data Documentation

String composers.SortComposer.description [static]
 

Initial value:

 "SortComposer sorts the " +
        "features in ascending or descending " +
        "order. If there are multiple features, " +
        "or more than one value per feature, it " +
        "sorts according to distance in" +
        " Euclidean space."

Reimplemented from composers.Composer.

Definition at line 51 of file SortComposer.java.


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